logo
On this page

Find purchase order by ID

GET

https://petstore.swagger.io/v2/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‚Äč

successful operation
Schema
    id object
    petId object
    quantity int32

    Possible values: >= 1

    Default value: 1

    shipDate date-time

    Estimated ship date

    status string

    Possible values: [placed, approved, delivered]

    Order Status

    complete boolean

    Default value: false

    Indicates whenever order was completed or not


1
Copied!
Request
Collapse all
Base URL
https://petstore.swagger.io/v2
Default server
Parameters
pathrequired
RESPONSEClear

Click the "Send" button above and see the response here!

On this page

Back to top