Skip to content

Find purchase order by ID

Request

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

Path
orderIdinteger, (int64), [ 1 .. 5 ]required

ID of pet that needs to be fetched

curl -i -X GET \
  'https://innovario.apishowdown.com/_mock/petstore/store/order/{orderId}'

Responses

successful operation

Body
idinteger, (int64)(Id)read-only

Order ID

petIdinteger, (int64)(Id)read-only

Pet ID

quantityinteger, (int32), >= 1
Default:1
shipDatestring, (date-time)

Estimated ship date

statusstring

Order Status

Enum:"placed""approved""delivered"
completebooleanread-only

Indicates whenever order was completed or not

Default:false
Response
{ "id": 0, "petId": 0, "quantity": 1, "shipDate": "2019-08-24T14:15:22Z", "status": "placed", "complete": false }