Pet Store
store
Copy Page
Pet Store
pet
Find pet by ID
GET
Update an existing pet
PUT
Add a new pet to the store
POST
Finds Pets by status
GET
Finds Pets by tags
GET
Updates a pet in the store with form data
POST
Deletes a pet
DELETE
uploads an image
POST
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
Create user
POST
Creates list of users with given input array
POST
Logs user into the system
GET
Logs out current logged in user session
GET
Get user by user name
GET
Update user
PUT
Delete user
DELETE
store
Copy Page
Returns pet inventories by status
GET
/store/inventory
Try it
Run in Apidog
Run in Apidog
Returns a map of status codes to quantities
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
GET
'/store/inventory'
Response
Response Example
{
"property1"
:
0
,
"property2"
:
0
}
Request
None
Responses
🟢
200
successful operation
application/json
Generate Code
Body
Generate Code
Additional properties
integer
Â
<int32>
optional
Modified atÂ
2022-10-19 09:27:46
Previous
uploads an image
Next
Place an order for a pet