Allows a user to accept or reject an order and confirm a scheduled one. This should be called only once per order and can only be used by partners with a configured Order Events webhook.
On successful response, you'll receive 204 No Content (204 status code and response without body). This will mean that the order status was changed within Deliveroo systems. For failed requests, we'll send the appropriate status code with a message including a reason. If you don't accept an ASAP order in 10 minutes (7 for Kuwait and UAE markets) then it will get rejected automatically.
List of allowed order status transitions:
|placed => accepted||Accepting an order.|
|placed => rejected||Rejecting an order.|
|accepted => confirmed||Site confirms an order and is starting to prepare it. Only applies to scheduled order type.|