logo
On this page

Place an order for a pet

POST

https://petstore.swagger.io/v2/store/order

Request

Body

required
order placed for purchasing the pet
    quantity int32

    Possible values: >= 1

    Default value: 1

    shipDate date-time

    Estimated ship date

    status string

    Possible values: [placed, approved, delivered]

    Order Status

    requestId string

    Unique Request Id

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
Bodyrequired
{
"quantity": 1,
"shipDate": "2024-04-10T08:56:21.845Z",
"status": "placed",
"requestId": "string"
}
RESPONSEClear

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

On this page

Back to top