https://petstore3.swagger.io/api/v3/store/orderPlaces a new order for a pet in the store, requiring details such as pet ID and order information.
Id
Example: 10
PetId
Example: 198772
Quantity
Example: 7
ShipDate
Order Status
Example: approved
Complete
Schema
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2025-01-01T00:00:00Z",
"status": "approved",
"complete": true
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://petstore3.swagger.io/api/v3/store/order' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://petstore3.swagger.io/api/v3/store/orderPlaces a new order for a pet in the store, requiring details such as pet ID and order information.
Id
Example: 10
PetId
Example: 198772
Quantity
Example: 7
ShipDate
Order Status
Example: approved
Complete
Schema
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2025-01-01T00:00:00Z",
"status": "approved",
"complete": true
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://petstore3.swagger.io/api/v3/store/order' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}