Create a new test order by using your test credentials.
In test mode, the server will perform webhook callbacks based on the durations provided in the scheduled_webhook_events object.
The following limitations compared to create order:
- No validation of items (e.g. description is not required)
- No virtual menu so items are not returned as part of the response body
Note that not providing scheduled_webhook_events will create an order reaching terminal status immediately. It won't be possible to track the location of such an order.
When supplying scheduled_webhook_events, make sure to set the value of delivered far enough into the future to allow to track the location of the order by subsequent requests. Also, some events, such as canceled or rejected will terminate the order and prevent location tracking.
Updated 27 days ago