Place an order
Place a new order in the store.
POST
https://petstore3.swagger.io/api/v3/store/order Body parameters
petId integer The id of the pet to order.
quantity integer How many to order.
status enum The order status. One of placed, approved, or delivered.
complete boolean Whether the order is complete.
Returns
Returns the created Order.
id integer Unique id for the order.
Request
curl https://petstore3.swagger.io/api/v3/store/order \ -H "Content-Type: application/json" \ -d '{ "petId": 198772, "quantity": 7, "status": "placed" }'Response
{ "id": 10, "petId": 198772, "quantity": 7, "status": "placed", "complete": false }