Skip to main content

Place an order for a pet

Place an order for a pet.

POST https://petstore3.swagger.io/api/v3/store/order

Examples

cURL
POST "https://petstore3.swagger.io/api/v3/store/order" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "api_key: <YOUR_API_KEY>" \
-d '{
"id": 0,
"petId": 0,
"quantity": 0,
"shipDate": "2025-08-11T15:13:06.939Z",
"status": "placed",
"complete": false
}'

Responses

CodeDescription
200Successful operation
400Invalid Order
defaultUnexpected error
Response example

200: Successful operation

Response
{
"id": 0,
"petId": 0,
"quantity": 0,
"shipDate": "2025-08-11T15:13:06.939Z",
"status": "placed",
"complete": false
}

Parameters

Request body
NameTypeDescription
bodyOrder objectRequired. The Order object for the pet.