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 Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://127.0.0.1:3658/m1/543334-505232-default/admin/orders//cancel'