On this page
Place an order for a pet.
Place a new order in the store.
POST
/store/orderPlace an order for a pet.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
}'Example response · 200
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2026-01-01T12:00:00Z",
"status": "approved",
"complete": true
}#Authentication
No authentication needed.
#Request body
application/json application/xml application/x-www-form-urlencoded · Type: Order
idinteger (int64)petIdinteger (int64)quantityinteger (int32)shipDatestring (date-time)statusstringOrder Status
Allowed values: "placed", "approved", "delivered"
completeboolean{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2026-01-01T12:00:00Z",
"status": "approved",
"complete": true
}<order>
<id>10</id>
<petId>198772</petId>
<quantity>7</quantity>
<shipDate>2026-01-01T12:00:00Z</shipDate>
<status>approved</status>
<complete>true</complete>
</order>#Responses
successful operation
application/json · Type: Order
idinteger (int64)petIdinteger (int64)quantityinteger (int32)shipDatestring (date-time)statusstringOrder Status
Allowed values: "placed", "approved", "delivered"
completebooleanExample
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2026-01-01T12:00:00Z",
"status": "approved",
"complete": true
}Invalid input
Validation exception
Unexpected error