wb_get_sales
Retrieve Wildberries sales and returns since a specified date using the Statistics API. Get sale rows with IDs, prices, and change dates for incremental data sync.
Instructions
Get Wildberries sales and returns since a date (Statistics API, 1 req/min).
Args: date_from: RFC3339 date/time in MSK, e.g. "2026-06-01" or "2026-06-01T00:00:00". flag: 0 = rows changed since date_from (incremental); 1 = rows dated on date_from. Returns JSON: {"ok": true, "status", "data": [ sale rows ]} or error envelope. Each row includes saleID, srid, nmId, totalPrice, forPay, lastChangeDate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | No | ||
| date_from | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |