Cancel an order and change its status. This will also cancel any associated Fulfillments and Payments, and it may fail if the Payment or Fulfillment Provider is unable to cancel the Payment/Fulfillment.
Request
Path Params
Query Params
Responses
🟢200OK
application/json
Body
🟠400Client Error or Multiple Errors
🟠401User is not authorized. Must log in first
🟠404Not Found Error
🟠409Invalid State Error
🟠422Invalid Request Error
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://127.0.0.1:3658/m1/543334-505232-default/admin/orders//cancel'