# Place an order for a pet.

Place a new order in the store.

[Place an order for a pet.](https://clay-doc.github.io/clay-example-repo/de/api/petstore/store/place-order.md)

```sh
curl -X POST 'https://petstore3.swagger.io/api/v3/store/order' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "id": 10,
  "petId": 198772,
  "quantity": 7,
  "shipDate": "2026-01-01T12:00:00Z",
  "status": "approved",
  "complete": true
}'
```
## Authentifizierung

Keine Authentifizierung nötig.

## Anfrage-Body

:badge[application/json]{note} :badge[application/xml]{note} :badge[application/x-www-form-urlencoded]{note} · Typ: [Order](https://clay-doc.github.io/clay-example-repo/de/api/petstore/schemas/order.md)

::: fields
- `id` integer (int64)
- `petId` integer (int64)
- `quantity` integer (int32)
- `shipDate` string (date-time)
- `status` string

  Order Status

  Erlaubte Werte: `"placed"`, `"approved"`, `"delivered"`
- `complete` boolean
:::

::: code-group
```json [application/json]
{
  "id": 10,
  "petId": 198772,
  "quantity": 7,
  "shipDate": "2026-01-01T12:00:00Z",
  "status": "approved",
  "complete": true
}
```
```xml [application/xml]
<order>
  <id>10</id>
  <petId>198772</petId>
  <quantity>7</quantity>
  <shipDate>2026-01-01T12:00:00Z</shipDate>
  <status>approved</status>
  <complete>true</complete>
</order>
```
:::

## Antworten

::: tabs status
== 200

successful operation

:badge[application/json]{note} · Typ: [Order](https://clay-doc.github.io/clay-example-repo/de/api/petstore/schemas/order.md)

::: fields
- `id` integer (int64)
- `petId` integer (int64)
- `quantity` integer (int32)
- `shipDate` string (date-time)
- `status` string

  Order Status

  Erlaubte Werte: `"placed"`, `"approved"`, `"delivered"`
- `complete` boolean
:::

```json [Beispiel]
{
  "id": 10,
  "petId": 198772,
  "quantity": 7,
  "shipDate": "2026-01-01T12:00:00Z",
  "status": "approved",
  "complete": true
}
```

== 400

Invalid input

== 422

Validation exception

== default

Unexpected error
:::

---

All pages of these docs, as Markdown for language models: https://clay-doc.github.io/clay-example-repo/de/llms.txt
