My API
GET/store/order/{orderId}

Find purchase order by ID.

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

1 parameter
orderIdintegerrequired
ID of order that needs to be fetched

4 status codes
200successful operation
idintegeroptional
petIdintegeroptional
quantityintegeroptional
shipDatestringoptional
statusstringoptional
Order Status
Allowed:placedapproveddelivered
completebooleanoptional
400Invalid ID supplied
404Order not found
defaultUnexpected error

Error handling

A 400 is returned: Invalid ID supplied A 404 is returned: Order not found Any other status is an error: Unexpected error