Place an order for a pet
POST/store/order
Place a new order in the store
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
id int64
petId int64
quantity int32
shipDate date-time
status string
Possible values: [placed
, approved
, delivered
]
Order Status
complete boolean
Body
id int64
petId int64
quantity int32
shipDate date-time
status string
Possible values: [placed
, approved
, delivered
]
Order Status
complete boolean
Body
id int64
petId int64
quantity int32
shipDate date-time
status string
Possible values: [placed
, approved
, delivered
]
Order Status
complete boolean
Responses
- 200
- 405
successful operation
- application/json
- Schema
- Example (from schema)
Schema
id int64
petId int64
quantity int32
shipDate date-time
status string
Possible values: [placed
, approved
, delivered
]
Order Status
complete boolean
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2024-05-14T14:39:49.652Z",
"status": "approved",
"complete": true
}
Invalid input
Loading...