Find order by ID
For a valid response, try integer ids with a value of 5 or less. Other values generate exceptions.
GET
https://petstore3.swagger.io/api/v3/store/order/{orderId} Path parameters
orderId integer required The id of the order to fetch.
Returns
Returns the Order.
id integer Unique id for the order.
status enum The order status.
Request
curl https://petstore3.swagger.io/api/v3/store/order/5Response
{ "id": 5, "petId": 198772, "quantity": 7, "status": "approved", "complete": true }