Find purchase order by ID

GET /store/order/{orderId}

For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.

Path parameters

  • orderId integer(int64) Required

    ID of order that needs to be fetched

Responses

GET /store/order/{orderId}
curl \
 -X GET /v3/store/order/{orderId}
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <id type="integer">10</id>
  <petId type="integer">198772</petId>
  <quantity type="integer">7</quantity>
  <shipDate>2024-05-04T09:42:00+00:00</shipDate>
  <status>approved</status>
  <complete type="boolean">true</complete>
</root>
Response examples (200)
{
  "id": 10,
  "petId": 198772,
  "quantity": 7,
  "shipDate": "2024-05-04T09:42:00+00:00",
  "status": "approved",
  "complete": true
}