store

store

Returns pet inventories by status

Returns a map of status codes to quantities

Responses
  • 200

    successful operation

GET/store/inventory

{
  "ANY_ADDITIONAL_PROPERTY": 1
}

Place an order for a pet

Body Parameters
  • body
Responses
  • 200

    successful operation

  • 400

    Invalid Order

POST/store/order

{
  "id": 1,
  "petId": 1,
  "quantity": 1,
  "shipDate": "2026-01-23T22:07:17.527Z",
  "status": "placed",
  "complete": true
}

Find purchase order by ID

For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions

Path Parameters
  • orderId
    required

    ID of pet that needs to be fetched

Responses
  • 200

    successful operation

  • 400

    Invalid ID supplied

  • 404

    Order not found

GET/store/order/{orderId}

{
  "id": 1,
  "petId": 1,
  "quantity": 1,
  "shipDate": "2026-01-23T22:07:17.527Z",
  "status": "placed",
  "complete": true
}

Delete purchase order by ID

For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors

Path Parameters
  • orderId
    required

    ID of the order that needs to be deleted

Responses
  • 400

    Invalid ID supplied

  • 404

    Order not found

DELETE/store/order/{orderId}

No Body