Skip to content
Blume is now publicly available.
Blume
Esc
navigateopen⌘Jpreview

Place an order for a pet.

Place a new order in the store.

POST/store/order
Request body
application/json
idinteger<int64>
petIdinteger<int64>
quantityinteger<int32>
shipDatestring<date-time>
statusstring
Order Status
Allowed:placedapproveddelivered
completeboolean
Responses
200successful operation
idinteger<int64>
petIdinteger<int64>
quantityinteger<int32>
shipDatestring<date-time>
statusstring
Order Status
Allowed:placedapproveddelivered
completeboolean
400Invalid input
422Validation exception
defaultUnexpected error
Request
curl -X POST "/api/v3/store/order" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 10,
  "petId": 198772,
  "quantity": 7,
  "shipDate": "2024-01-01T00:00:00Z",
  "status": "approved",
  "complete": true
}'
Response
{
  "id": 10,
  "petId": 198772,
  "quantity": 7,
  "shipDate": "2024-01-01T00:00:00Z",
  "status": "approved",
  "complete": true
}