Delete Order
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors.
Request
URI
DELETE
https://petstore3.swagger.io/store/order/{orderId}
COPY
Path Parameters
integer
orderId
Required
ID of the order that needs to be deleted
Responses
200
order deleted
Operation doesn't return any data structure
400
Invalid ID supplied
Operation doesn't return any data structure
404
Order not found
Operation doesn't return any data structure
default
Unexpected error
Returns
Error
of type(s)
application/json
{
"code": "string",
"message": "string"
}
string
code
Required
code
string
message
Required
message
Code Samples
COPY
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/store/order/{orderId}