How to cancel order?
Hi Developer, let say i have an order that i want to cancel via API. is there such functionalities?
Customer A purchased order A but if i have no stock and want to cancel it.
Can we use the cancellation API to push it to cancel? is there such function?
1 Answers
Best Answer
Hello @Alvin,
If you want to cancel the order for not having enough stock, please use the following confirm order API:
Leave the available_item_ids param empty to confirm that you have NO available items:
{ "available_item_ids": [ ], "seller_inventory_id": 1089 }