Cancel Order
POST
/v1/orders/{id}/cancelYou can only cancel the order if it's in Draft, New Order or In Production status.
Request
Path Params
id
string
required
Swiftpod Order ID
Request samples
Responses
Cancel Order(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
boolean
required
message
string
required
ExampleCancel Order
{
"status": true,
"message": "Order cancelled successfully"
}
Last modified: 4 months ago