To export Wildberries orders and stock levels through the WB Seller API, first define the operating model. For FBS, orders are represented as picking tasks, and stock levels are read by seller warehouses and product card sizes. Store them in two tables. Reconcile the first by time period and unique task IDs; reconcile the second by warehouse coverage and size identifiers.
- Step 1. Determine which orders and which stock levels you need
- Step 2. Retrieve all pages of picking tasks
- Step 3. Read stock levels by seller warehouse
- Step 4. Record two tables and verify coverage
Step 1. Determine which orders and which stock levels you need
This example covers FBS, where the seller operates from their own warehouse. The “new” picking tasks describe the current queue. To export data for a date range, use a separate task list method. Stock at your own warehouse is different from the quantity of goods in a Wildberries warehouse, and the number of picking tasks is not a stock movement. For a report under a different model, choose its own schema.
Use seller access with the minimum required permissions and verify the read mode and categories for all methods actually used by the process. Keep the token in a secrets store or environment variable. It should not appear in the table, editorial notes, or error logs. In production, verify the methods, schemas, and token categories against the seller account. Below are fields from saved copies of the Wildberries OpenAPI. Automated access to the documentation portal from the verification environment returned 498, so the schema’s relevance for a specific account must be confirmed separately.
Step 2. Retrieve all pages of picking tasks
In the verified OpenAPI snapshot, the list for a date range is available through GET /api/v3/orders on the marketplace-api.wildberries.ru host. The first next value is 0; in subsequent requests, pass the value from the previous response. Specify limit and the dateFrom and dateTo interval boundaries in Unix seconds. The snapshot describes a 30-calendar-day period limit and availability of recent tasks for up to three months. For older tasks, the documentation points to a separate archive method.
Page handling: save the input cursor, the orders records, the output cursor, and the count of unique IDs. Follow the documented end-of-list indicator and check for cursor repetition. On repeat, the same task ID updates the record or creates a new version according to an explicit rule. For a repeatable window, set the boundaries identically and preserve the timezone of the source selection. Do not merge two exports by date and product name. Snapshot of the FBS picking-task schema
If you need the current status, check the separate status method. In the snapshot reviewed, the list for a date range does not return the current status. The “no new orders” error may mean the queue of new tasks is open, even though processed orders already exist for the same day.
Step 3. Read stock levels by seller warehouse
Get the list of warehouses through GET /api/v3/warehouses. For each one, pass the list of chrtIds using POST /api/v3/stocks/{warehouseId}. In the reviewed schema, POST with this path reads stock levels, while PUT changes them. Check the HTTP method in the test configuration so the export does not accidentally write data. The response in the snapshot contains chrtId and amount. Take the size list from the current product card reference and store the mapping to the seller SKU. Snapshot of products and stock schema
For one warehouse, send the needed sizes in batches within the documented limit. Compare the submitted chrtId values and the returned rows. If there is no response for a size, mark the absence as unknown and determine the cause. An explicit zero and a missing row lead to different conclusions. If the request fails, repeat the read only for the incomplete warehouse or size group, preserving the time of the new measurement.
Step 4. Record two tables and verify coverage
| Table | Row key | What to store | Sample row |
|---|---|---|---|
| FBS orders | Task ID | Time, SKU, chrtId, warehouse ID, export number | 91001, 09:12, ORG-BL, 4001, warehouse 8 |
| FBS stock levels | Warehouse ID and chrtId | SKU, available quantity, measurement time | Warehouse 8, 4001, ORG-BL, 17 units |
| Export reconciliation | Window, method, and page or batch key | Number of entries, rows, unique IDs, status | Two pages and 41 unique tasks |
The numbers are fictional. For the first run, choose a short closed window and a small list of current sizes. Compare the tasks with the available view in the account using the same filters and accounting for new, canceled, and processed requests. Compare the stock snapshot with a slice taken as close in time as possible. The result for 09:12 and the number shown in the interface for 09:30 may differ because of movements between measurements.
Check the rerun: the number of order rows for a closed window should not increase just because of a repeated export if the source set has not changed. Stock for the same keys can change. If one request failed because of a rate limit, mark the result as incomplete and repeat it according to the service response and documentation. Do not declare the report complete after the first successful page. No requests with the seller key were executed in the material, and the order and fields were verified against the saved specification.
For the integration reference, the WB Seller API tool card will be useful. For the next task, see the seller process automation plan.
Preparing the export with Studio
Vladimir Lomtev’s AI Studio helps describe the two tables, connect data reading to a coordinated workflow, and set up completeness checks. For the first discussion, prepare the schema for one warehouse, several test SKUs, and the rule that defines when the final report is considered complete.
Summary
Align the model, sources, and time window. Collect all task pages and separately all requested warehouse rows. Check unique keys, clearly flag errors and missing values, and only after reconciliation pass the data into the report.
Official sources verified on 2026-11-23.



