Skip to main content

Place an order for a pet

POST 

/v3/store/order

Place a new order in the store

Request

Body

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

    Possible values: [placed, approved, delivered]

    Order Status

    complete boolean

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 POST '/v3/store/order' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2024-05-14T14:39:49.618Z",
"status": "approved",
"complete": true
}'
Request Collapse all
Base URL
/v3
Body
{
  "id": 10,
  "petId": 198772,
  "quantity": 7,
  "shipDate": "2024-05-14T14:39:49.618Z",
  "status": "approved",
  "complete": true
}
ResponseClear

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