PetstoreAPI Docs
Modern Petstore API
Classic Petstore API
Blog
Modern Petstore API
Classic Petstore API
Blog
store
Copy Page
pet
Update an existing pet.
PUT
Add a new pet to the store.
POST
Finds Pets by status.
GET
Finds Pets by tags.
GET
Find pet by ID.
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 identifier.
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 resource.
PUT
Delete user resource.
DELETE
Schemas
Schemas
Order
Category
User
Tag
Pet
ApiResponse
RequestBodies
UserArray
Modern Petstore API
Classic Petstore API
Blog
Modern Petstore API
Classic Petstore API
Blog
store
Copy Page
Delete purchase order by identifier.
DELETE
/store/order/{orderId}
Try it
Run in Apidog
Run in Apidog
For valid response try integer IDs with value < 1000. Anything above 1000 or non-integers will generate API errors.
Request
Path Params
Generate Code
Responses
🟢
200
order deleted
This response does not have a body.
🟢
200
ðŸŸ
400
ðŸŸ
404
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
DELETE
'/store/order/'
Modified atÂ
2025-12-17 09:17:20
Previous
Find purchase order by ID.
Next
Create user.