Find purchase order by ID
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
Path parameters
-
ID of order that needs to be fetched
GET
/store/order/{orderId}
curl \
-X GET /api/v3/store/order/{orderId}
Response examples (200)
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2023-05-04T09:42:00+00:00",
"status": "approved",
"complete": true
}
Response examples (200)
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2025-05-04T09:42:00+00:00",
"status": "approved",
"complete": true
}