post https://order_platform_url/orders//reject
The Order Reject endpoint enables the order platform to mark an order as rejected. This action can be triggered by various scenarios, such as when a restaurant manually rejects an order, the system automatically rejects an order due to mapping issues, or if items in the order are out of stock. This endpoint ensures that rejected orders are properly recorded and communicated to both the restaurant and the customer.