Place an order for a pet

Request
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

Order Status

Enum: "placed" "approved" "delivered"
complete
boolean
Default: false
Responses
200

successful operation

400

Invalid Order

post/store/order
Request samples
application/json
{
  • "id": 0,
  • "petId": 0,
  • "quantity": 0,
  • "shipDate": "2019-08-24T14:15:22Z",
  • "status": "placed",
  • "complete": false
}
Response samples
{
  • "id": 0,
  • "petId": 0,
  • "quantity": 0,
  • "shipDate": "2019-08-24T14:15:22Z",
  • "status": "placed",
  • "complete": false
}