Pet Store
  1. store
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
  1. store

Delete purchase order by ID

DELETE
/store/order/{orderId}
store
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/store/order/'
Response Response Example
400 - Example 1
{}

Request

Path Params
orderId
integer 
required
ID of the order that needs to be deleted

Responses

🟠400Invalid ID supplied
application/json
Body
object {0}
🟠404Order not found
Previous
Find purchase order by ID
Next
Create user
Built with