Store
Get an order
Retrieve a store order by its numeric identifier.
Returns one store order. The operation declares no security requirement.
Find a purchase order by ID.
GET
/store/order/{orderId}ID of the order to retrieve.
Response
{200}Successful operation
{400}Invalid ID supplied
{404}Order not found
cURL
curl --request GET \ --url https://petstore3.swagger.io/api/v3/store/order/1
{
"id": 1,
"petId": 198772,
"quantity": 7,
"shipDate": "2026-07-22T10:00:00Z",
"status": "approved",
"complete": true
}For testing, the contract recommends integer IDs less than or equal to 5, or greater than 10; other values generate exceptions. It also defines a default Unexpected error response without a fixed status or body schema.