Skip to content

Place an order for a pet

Request

Place a new order in the store

Body
idinteger, (int64)
Example:10
petIdinteger, (int64)
Example:198772
quantityinteger, (int32)
Example:7
shipDatestring, (date-time)
statusstring

Order Status

Enum:"placed""approved""delivered"
Example:"approved"
completeboolean
curl -i -X POST \
  https://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/pet-store/openapi/store/order \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 10,
    "petId": 198772,
    "quantity": 7,
    "shipDate": "2019-08-24T14:15:22Z",
    "status": "approved",
    "complete": true
  }'

Responses

successful operation

Bodyapplication/json
idinteger, (int64)
Example:10
petIdinteger, (int64)
Example:198772
quantityinteger, (int32)
Example:7
shipDatestring, (date-time)
statusstring

Order Status

Enum:"placed""approved""delivered"
Example:"approved"
completeboolean
Response
{ "id": 10, "petId": 198772, "quantity": 7, "shipDate": "2019-08-24T14:15:22Z", "status": "approved", "complete": true }