wb_get_sales
Fetch Wildberries sales and returns since a specified date. Set flag to 0 for incremental changes or 1 for rows dated on that date.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"date_from": "<date_from>"
},
"name": "wb_get_sales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | No | ||
| date_from | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |