https://petstore3.swagger.io/api/v3/store/order/{orderId}Deletes a purchase order identified by its ID, with valid IDs being integers less than 1000.
ID of the order that needs to be deleted
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request DELETE \
--url 'https://petstore3.swagger.io/api/v3/store/order/{orderId}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://petstore3.swagger.io/api/v3/store/order/{orderId}Deletes a purchase order identified by its ID, with valid IDs being integers less than 1000.
ID of the order that needs to be deleted
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request DELETE \
--url 'https://petstore3.swagger.io/api/v3/store/order/{orderId}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}