Skip to main content

Find purchase order by ID

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

Path Parameters
orderId int64 REQUIRED

Possible values: 1 ≤ value ≤ 5

ID of pet that needs to be fetched

Responses
200

successful operation

Schema
id int64

Order ID

petId int64

Pet ID

quantity int32

Possible values: 1 ≤ value

shipDate date-time

Estimated ship date

status string

Possible values: [placed, approved, delivered]

Order Status

complete boolean

Indicates whenever order was completed or not

requestId string

Unique Request Id

400

Invalid ID supplied

404

Order not found

getOrderById
GET /store/order/:orderId
orderId — path
Accept
//petstore.swagger.io/v2
curl -L -X GET '//petstore.swagger.io/v2/store/order/:orderId' \
-H 'Accept: application/json'