On this page
Find purchase order by ID.
For valid response try integer IDs with value ≤ 5 or > 10. Other values will generate exceptions.
GET
/store/order/{orderId}Find purchase order by ID.curl 'https://petstore3.swagger.io/api/v3/store/order/0'Example response · 200
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2026-01-01T12:00:00Z",
"status": "approved",
"complete": true
}#Authentication
No authentication needed.
#Parameters
orderIdinteger (int64)requiredpathID of order that needs to be fetched
#Responses
successful operation
application/json application/xml · Type: Order
idinteger (int64)petIdinteger (int64)quantityinteger (int32)shipDatestring (date-time)statusstringOrder Status
Allowed values: "placed", "approved", "delivered"
completeboolean{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2026-01-01T12:00:00Z",
"status": "approved",
"complete": true
}<order>
<id>10</id>
<petId>198772</petId>
<quantity>7</quantity>
<shipDate>2026-01-01T12:00:00Z</shipDate>
<status>approved</status>
<complete>true</complete>
</order>Invalid ID supplied
Order not found
Unexpected error