Find purchase order by ID
GET/store/order/:orderId
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
Request
Path Parameters
orderId int64required
Possible values: >= 1
and <= 5
ID of pet that needs to be fetched
Responses
- 200
- 400
- 404
successful operation
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
id objectrequired
petId objectrequired
quantity int32required
Possible values: >= 1
Default value: 1
shipDate date-timerequired
Estimated ship date
status stringrequired
Possible values: [placed
, approved
, delivered
]
Order Status
complete booleanrequired
Default value: false
Indicates whenever order was completed or not
{
"id": 0,
"petId": 0,
"quantity": 1,
"shipDate": "2024-03-18T14:46:17.736Z",
"status": "placed",
"complete": false
}
- Schema
- Example (from schema)
Schema
id objectrequired
petId objectrequired
quantity int32required
Possible values: >= 1
Default value: 1
shipDate date-timerequired
Estimated ship date
status stringrequired
Possible values: [placed
, approved
, delivered
]
Order Status
complete booleanrequired
Default value: false
Indicates whenever order was completed or not
<root>
<id>0</id>
<petId>0</petId>
<quantity>1</quantity>
<shipDate>2024-03-18T14:46:17.736Z</shipDate>
<status>placed</status>
<complete>false</complete>
</root>
Invalid ID supplied
Order not found
Loading...