Orders history
yandex_eats_orders_historyRetrieve order history for specified restaurants within a date range, with optional filters for status, service type, and pagination. Supports up to 1000 orders and 180 days of history.
Instructions
Fetch order history from Vendor Management (POST /v1/orders-history). Limits: max 1000 orders in the response; history retained for the last 180 days. Status filter values are NEW, CANCELLED, DELIVERED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End datetime RFC3339 | |
| from | Yes | Start datetime RFC3339, e.g. 2024-01-01T12:00:05.125+03:00 | |
| limit | No | Max orders (default API limit applies) | |
| offset | No | Pagination offset | |
| status | No | Optional status filter | |
| service | No | YE = Yandex Eats, MD = other service | |
| origin_ids | Yes | Restaurants to query | |
| include_pii | No | If true, keep phone numbers and client names in the response |