Return a list of up to 100 orders for a given restaurant within a given timeframe.
Deliveroo would not return order data older than 30 days.
There are several ways to make the GET request by timeframe.
Example GET requests:
GET api/v2/brand/{brand_id}/restaurant/{restaurant_id}/orders?start_date=2018-12-11T00:00:00Z
See all orders on and after a certain date. This example would show all orders on and after 11 December 2018.
GET api/v2/brand/{brand_id}/restaurant/{restaurant_id}/orders?start_date=2018-12-11T00:00:00Z&end_date=2018-12-13T23:59:00Z
See all orders between start date and end date. This example would show all orders from the beginning of 11 December 2018 to the end of 13 December 2018.
GET api/v2/brand/{brand_id}/restaurant/{restaurant_id}/orders?cursor=eyJzdGFydF9kYXRlIjoiMjAxOC0xMi0xMVQwMDowMDowMCIsImVuZF9kYXRlIjoiMjAxOC0xMi0xMlQwMDowMDowMCIsIm1pbl9vcmRlcl9pZCI6IjA3ZmJiODJhLWNlYjUtNDNlYy0xMjNmLTE4YWY4OWUzMzgwYSJ9
See all order after the previous call, cursor will be returned as next
in response if there are more than 100 orders in a window.
This endpoint is rate limited at 5 request per minute per restaurant.