Skip to content

Find purchase order by ID

Request

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

Path
orderIdinteger, (int64)required

ID of order that needs to be fetched

curl -i -X GET \
  'https://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/pet-store/openapi/store/order/{orderId}'

Responses

successful operation

Body
idinteger, (int64)
Example:10
petIdinteger, (int64)
Example:198772
quantityinteger, (int32)
Example:7
shipDatestring, (date-time)
statusstring

Order Status

Enum:"placed""approved""delivered"
Example:"approved"
completeboolean
Response
<order>
  <id>10</id>
  <petId>198772</petId>
  <quantity>7</quantity>
  <shipDate>2019-08-24T14:15:22Z</shipDate>
  <status>approved</status>
  <complete>true</complete>
</order>