This action allows cancelling an order that can’t be completed.
Normally, when creating an order with /restaurant/make_order, the system will halt the order creation if there is any errors. In such case, client can just instruct customer to correct the mistaken information or otherwise act according to the errors, and then just try to create new order.
When order creation succeeds, depending on the payment method, the order may require payment in advance before the order in reality has been finalized. In such case, if customer is not able to pay the order, customer may wish to try creating a new order with for example with another payment method. In such case, a lingering order will remain, in which case this action should be called to cancel the lingering order.
¹) Either session_id or api_key and secret are needed.
For language, see account page’s language section.
|INVALID_ORDER_ID||None||The order id you gave is not valid.|