跳到主要内容

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.

Request

Path Parameters

NameTypeRequiredDescription
orderIdinteger (int64)requiredID of order that needs to be fetched

Body

No request body

Responses

application/jsonapplication/xml
idinteger(int64)
Example: 10
integer (int64)
petIdinteger(int64)
Example: 198772
integer (int64)
quantityinteger(int32)
Example: 7
integer (int32)
shipDatestring(date-time)
string (date-time)
statusstring
Order Status
Example: "approved"
string
Order Status
completeboolean
boolean
idinteger(int64)
Example: 10
integer (int64)
petIdinteger(int64)
Example: 198772
integer (int64)
quantityinteger(int32)
Example: 7
integer (int32)
shipDatestring(date-time)
string (date-time)
statusstring
Order Status
Example: "approved"
string
Order Status
completeboolean
boolean

Response Info

Status Code:200
Description:successful operation
Content Types:
application/jsonapplication/xml