1. Store
Pet Store
  • Store API
    • Start your Apidog journey
    • Pet
      • List Pets
      • Create Pet
      • Get Pet
      • Update Pet
      • Delete Pet
      • Upload Pet Image
    • Chat
      • Pet Care AI Consultation
    • Store
      • Get Store Inventory
        GET
      • List all inventories
        GET
      • Create Order
        POST
      • Get Order
        GET
      • Cancel Order
        DELETE
      • Callback Example
        POST
    • Payments
      • Pay Order
    • User
      • Create User
      • Update User
      • Get User
      • Delete User Account
      • Create Authentication Token
    • Webhooks
      • Order Status Changed Event
      • Payment Succeeded Event
    • Websocket, Socket.IO & more
      • gRPC API
      • Other protocol API example
      • WebSocket example
      • Socket.IO example
      • Webhook example
      • GraphQL example
      • SSE example
      • SOAP example
    • Schemas
      • Pet
      • User
      • PetCollection
      • OrderPayment
      • Bank Card
      • Order
      • Bank Account
      • ApiResponse
      • Error
  • Admin API
    • Dashboard
      • Get Dashboard Stats
    • User Management
      • List Users
      • Get User Details
      • Update User Status
    • Order Management
      • List All Orders
      • Force Cancel Order
    • Audit Logs
      • Get Audit Log Details
    • Schemas
      • AuditLog
  1. Store

Get Store Inventory

GET
/inventory
Returns aggregated inventory statistics across all pets in the store.
Note: This endpoint correctly uses a singular noun because "inventory" is a mass noun
(uncountable) representing aggregated statistics, not a collection of countable resources.
Similar endpoints: /dashboard, /summary, /analytics.

Request

Authorization

Responses

🟢200
application/json
Successful operation
Headers

Bodyapplication/json

🟠401Unauthorized
🔴500InternalServerError
Request Request Example
Shell
JavaScript
Java
Swift
curl -X GET 'https://api.petstoreapi.com/v1/inventory' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Response Response Example
200 - Success
{
    "available": 145,
    "pending": 23,
    "adopted": 892,
    "total": 1060,
    "bySpecies": {
        "DOG": 523,
        "CAT": 387,
        "BIRD": 89,
        "RABBIT": 45,
        "FISH": 16
    },
    "lastUpdatedAt": "2026-01-07T10:30:00Z"
}
Modified at 2026-05-13 03:16:01
Previous
Pet Care AI Consultation
Next
List all inventories
Built with