Find purchase order by ID
For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions
Path Parameters
- orderIdrequired
ID of pet that needs to be fetched
Responses
- 200
successful operation
- 400
Invalid ID supplied
- 404
Order not found
GET/store/order/{orderId}
curl https://petstore.swagger.io/v2/store/order/ \
--header 'Api_key: YOUR_SECRET_TOKEN'
{
"id": 1,
"petId": 1,
"quantity": 1,
"shipDate": "2025-02-11T08:57:43.959Z",
"status": "placed",
"complete": true
}