This endpoint cancels an order regardless of its current status and handles all necessary cleanup including customer notifications, refunds, inventory adjustments, and delivery platform communications.
Canceling orders frequently can negatively impact your store’s rating on delivery platforms. Use this endpoint judiciously and consider alternative solutions when possible.
{ "store_id": "449235c1-3d04-4519-998b-40d2a621e5e0", "order_id": "35d18f08-6d54-421d-9476-8cef629111bc", "reason": "OUT_OF_STOCK", "description": "Main ingredient not available due to supply chain issue", "initiated_by": "870a05c1-bbbf-48ab-a757-e28ae0a2b2a8"}
Analytics Update: Cancellation metrics are updated for reporting
Audit Trail: Complete cancellation record is created for compliance
Refund Timing: Refunds typically process within 3-5 business days, but the exact timing depends on the customer’s payment method and the delivery platform’s policies.
Best Practice: When possible, contact the customer directly before canceling to explore alternatives or explain the situation. This can help maintain customer satisfaction even in difficult situations.