Skip to main content

Find purchase order by ID

GET 

/v3/store/order/:orderId

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

Request

Path Parameters

    orderId int64required

    ID of order that needs to be fetched

Responses

successful operation

Schema
    id int64
    petId int64
    quantity int32
    shipDate date-time
    status string

    Possible values: [placed, approved, delivered]

    Order Status

    complete boolean
curl -L -X GET '/v3/store/order/:orderId' \
-H 'Accept: application/xml'
Request Collapse all
Base URL
/v3
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!