1. store
7
  • 默认模块
    • 🦊一分钟,了解 Apifox !
    • 示例项目
      • /
      • Add a new pet to the store
      • Update an existing pet
      • Finds Pets by status
      • Find pet by ID
      • Deletes a pet
    • a
    • pet
      • uploads an image
      • Finds Pets by tags
      • Updates a pet in the store with form data
    • store
      • Returns pet inventories by status
        GET
      • Place an order for a pet
        POST
      • Find purchase order by ID
        GET
      • Delete purchase order by ID
        DELETE
    • user
      • Creates list of users with given input array
      • Get user by user name
      • Updated user
      • Delete user
      • Logs user into the system
      • Logs out current logged in user session
      • Creates list of users with given input array
      • Create user
    • df
    • baidu
      GET
    • knife4j
      GET
    • a
      GET
    • c
      GET
    • 数据模型
      • 示例数据模型
      • Schemas
        • ApiResponse
        • Pet
        • Category
        • Tag
        • Order
        • User
      • RequestBodies
        • UserArray
      • test
  • test
    • lll
      GET
  1. store

Returns pet inventories by status

GET
/store/inventory
Returns a map of status codes to quantities

请求参数

Authorization
API Key
在 header 添加参数
api_key
示例:
api_key: ********************
or

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/store/inventory' \
--header 'api_key: <api-key>'

返回响应

🟢200成功
application/json
successful operation
Bodyapplication/json

示例
{
    "property1": 0,
    "property2": 0
}
修改于 2025-07-30 03:27:05
上一页
Updates a pet in the store with form data
下一页
Place an order for a pet
Built with