Store
Place an order
Create a store order from an Order payload.
Creates an order and returns the resulting Order object. The operation declares no security requirement. This example uses JSON; the contract also accepts XML and form-encoded bodies.
Place a new order in the store.
POST
/store/orderOrder identifier.
Pet identifier.
Quantity to order.
Shipping date and time.
One of `placed`, `approved`, or `delivered`.
Whether the order is complete.
Response
{200}Successful operation
{400}Invalid input
{422}Validation exception
cURL
curl --request POST \
--url https://petstore3.swagger.io/api/v3/store/order \
--header 'Content-Type: application/json' \
--data '{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2026-07-22T10:00:00Z",
"status": "approved",
"complete": true
}'{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2026-07-22T10:00:00Z",
"status": "approved",
"complete": true
}The request body and all Order properties are optional in the contract. A default Unexpected error response is also defined without a fixed status or body schema.