Try it

Place an order for a pet

Request Body schema: application/json

order placed for purchasing the pet

id
integer <int64>
petId
integer <int64>
quantity
integer <int32>
shipDate
string <date-time>
status
string
Enum: "placed" "approved" "delivered"

Order Status

complete
boolean
Default: false

Responses

200

successful operation

400

Invalid Order

post/store/order
http://petstore.swagger.io/v2/store/order

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": 0,
  • "petId": 0,
  • "quantity": 0,
  • "shipDate": "2021-12-30T14:06:11Z",
  • "status": "placed",
  • "complete": false
}

Response samples

Content type
No sample