---
title: "Place an order for a pet."
method: POST
path: "/store/order"
tags: ["store"]
---

# Place an order for a pet.

`POST /store/order`

Place a new order in the store.

## Request body

- Order
  - `id` integer
  - `petId` integer
  - `quantity` integer
  - `shipDate` string, date-time
  - `status` 'placed' | 'approved' | 'delivered' — Order Status
  - `complete` boolean

## Response `200`

successful operation

- Order
  - `id` integer
  - `petId` integer
  - `quantity` integer
  - `shipDate` string, date-time
  - `status` 'placed' | 'approved' | 'delivered' — Order Status
  - `complete` boolean

## Other responses

- `400` — Invalid input
- `422` — Validation exception
- `default` — Unexpected error

## Changes

- **2025-03-19** `1315ee0b6b7e` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `422`
  - removed the non-success response with the status `405`
- **2025-03-17** `d5fd36e3763a` — 3 info
  - added the non-success response with the status `405`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `422`
- **2025-03-14** `78de4368a03c` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `422`
  - removed the non-success response with the status `405`
- **2025-03-13** `887ffd0911f2` — 3 info
  - added the non-success response with the status `405`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `422`
- **2025-03-12** `253de9e0f0ae` — 6 warning, 2 info
  - removed the optional property `complete` from the response with the `default` status
  - removed the optional property `id` from the response with the `default` status
  - removed the optional property `petId` from the response with the `default` status
  - removed the optional property `quantity` from the response with the `default` status
  - …4 more

[Full history](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/changes/store/order/post.md)

---

[API](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0.md) · [All operations](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/swagger/swagger-petstore-openapi-3-0/revisions/e1a2480ffa44/schema)
