Get the List of Archived Assembly Orders
GET /api/marketplace/v3/fbs/orders/archiveBase URL: https://marketplace-api.wildberries.ru · Module: orders-fbs · Section: FBS Assembly Orders · Specification doc ↗
The method returns assembly orders created more than 3 months ago. Some assembly orders are archived later than 3 months after creation, as the supply is archived only after all orders in it are completed. For example, this happens if the seller did not deliver one of the orders in the supply and the order was canceled automatically after a few days.
Request limit per one seller account for FBS assembly orders, supplies, passes and auto-return settings methods:
| Period | Limit | Interval | Burst |
|---|---|---|---|
| 1 min | 300 requests | 200 ms | 20 requests |
One request with 4XX response codes is counted as 10 requests |
Parameters
| Name | In | Type | Req. | Description |
|---|---|---|---|---|
year | query | integer<int64> | yes | Year the order was created |
month | query | integer<int64> | yes | Month the order was created |
next | query | integer<int64> | yes | Pagination parameter. Sets the value from which to retrieve the next batch. It should start at 0 to get the full list of data. For the subsequent requests, you must take the value from the next field in the response. |
limit | query | integer<int32> | yes | Number of assembly orders in the response |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Success | v3.ArchiveOrders |
400 | Bad request | ArhiveOrderError400 |
401 | Unauthorized | object |
402 | Payment required | object |
403 | Access denied | object |
429 | Too many requests | object |
Structure 200:
nextinteger<int64>— Pagination parameter. Sets the value from which to get the next batchordersv3.ArchiveOrder[]— Archived assembly orderscargoTypestring— Type of cargo: -mgt— small-sized items -sgt— over dimensional cargo (ODC) -kgtPlus— dimensional cargo+ (CD+)colorCodestring— Color code for tinted itemscreatedAtstring— Date when the order was createdcrossBorderobject— Cross-border order informationparcelstring— Parcel ID
crossBorderTypestring— Assembly order type: -local— Non-Cross-Border -crossBorder— Cross-Borderidinteger<int64>— Assembly order IDisZeroOrderboolean— Indicator of an order for an item with zero inventory: -false— the order is made for an item with a non-zero inventory -true— the order is made for an item with zero inventorymetaDetailsobject[]— Assembly order label identifierskeystring— Label identifiervaluestring— Label identifier valuedecisionstring— Validation statuses.imeivalidation statuses with which the supply can be transferred to delivery: -filled— Label identifier is added to the assembly order, validation is not required -deadlineExceeded— Label identifier validation is not completed and will continue. The validation can pass or fail -optional— Label identifier is not required. Validation passed -imeiMaySell— The item is approved for sale. Validation passed -imeiSoldB2B— The item was sold to a B2B buyer and approved for sale again. Validation passedimeivalidation statuses with which the supply can not be transferred to delivery: -pending— Label identifier validation continues. Wait for the validation status to change -required— Required label identifier is not added to the assembly order. Validation failed -imeiInvalidFormat— Invalid format. Validation failed -imeiAlreadySold— The item with this IMEI has already been sold. Validation faileduinvalidation statuses with which the supply can be transferred to delivery: -filled— Label identifier is added to the assembly order, validation is not required -deadlineExceeded— Label identifier validation is not completed and will continue. The validation can pass or fail -optional— Label identifier is not required. Validation passed -uinMaySell— The item is approved for sale. Validation passeduinvalidation statuses with which the supply can not be transferred to delivery: -pending— Label identifier validation continues. Wait for the validation status to change -required— Required label identifier is not added to the assembly order. Validation failed -uinInvalidFormat— Invalid format. Validation failed -uinBadStatus— Invalid batch status. Validation failed -uinBadProcess— Invalid processing stage. Validation failed -uinBadStatusAndBadProcess— Invalid batch status. Invalid processing stage. Validation failed -uinNotFound— Not found in GIIS DMDK. Validation failed. The status may mean that the UIN: - is not specified in the uploaded Delivery Contract Specification - is not registered in GIIS DMDK - is specified incorrectly and is read from the tag with errors - is not in circulationsgtinvalidation statuses with which the supply can be transferred to delivery: -filled— Label identifier is added to the assembly order, validation is not required -deadlineExceeded— Label identifier validation is not completed and will continue. The validation can pass or fail -optional— Label identifier is not required. Validation passed -sgtinIntroduced— The item is approved for sale. Validation passed -sgtinSoldB2B— The item was sold to a B2B buyer and approved for sale again. Validation passedsgtinvalidation statuses with which the supply can not be transferred to delivery: -pending— Label identifier validation continues. Wait for the validation status to change -required— Required label identifier is not added to the assembly order. Validation failed -sgtinInvalidFormat— Invalid format. Validation failed -sgtinNoGS— Label identifier does not contain the GS separator\u001d. Validation failed -sgtinHasInvalidSymbols— Label identifier contains incorrect characters or spaces. Validation failed -sgtinHasNonLatinSymbols— Label identifier contains non-special or Latin characters. Validation failed -sgtinInvalidPattern— Label identifier structure is incorrect. Validation failed -sgtinNotFound— Label identifier not found in Chestny ZNAK. Validation failed -sgtinEmitted— Label identifier has been issued. Validation failed -sgtinApplied— Putting into circulation not completed. Validation failed -sgtinWrittenOff— Written off. Validation failed -sgtinRetired— Retired. Validation failed -sgtinWithdrawn— Withdrawn. Validation failed -sgtinDisaggregation— Disaggregation. Validation failed -sgtinDisaggregated— Disaggregated. Validation failed -sgtinAppliedNotPaid— Not paid. Validation failedgtinvalidation statuses with which the supply can be transferred to delivery: -filled— Label identifier is added to the assembly order, validation is not required -optional— Label identifier is not required. Validation passed -required— Required label identifier is not added to the assembly order. Validation failedexpirationvalidation statuses with which the supply can be transferred to delivery: -filled— Label identifier is added to the assembly order, validation is not required -optional— Label identifier is not required. Validation passed -required— Required label identifier is not added to the assembly order. Validation failedcustomsDeclarationvalidation statuses with which the supply can not be transferred to delivery: -required— Required label identifier is not added to the assembly order. Validation failedcustomsDeclarationvalidation statuses with which the supply can be transferred to delivery: -filled— Label identifier is added to the assembly order, validation is not required -optional— Label identifier is not required. Validation passed
optionsobject— Order optionsisB2Bboolean— Indicator of a B2B sale: -false— not B2B sale -true— B2B sale
orderUidstring— Transaction ID for order grouping. Orders in the same buyer's cart will have the sameorderUidpriceInfoobject— Order price dataconvertedCurrencyCodeinteger<int64>— Currency code of the seller countryconvertedPriceinteger<int64>— The sum charged to the buyer in the currency of the seller country including all discounts, multiplied by 100currencyCodeinteger<int64>— Sale currency codepriceinteger<int64>— The price in the currency of sale including all discounts, except WB Wallet discount, multiplied by 100
productobject— Item informationarticlestring— Seller item numberchrtIdinteger<int64>— Item size ID in WB systemsnmIdinteger<int64>— WB item numberskusstring[]— List of SKUs
ridstring— Unique order ID. Note:ridcorresponds tosridin the responses of the methods: - Buyers Return Applications - Order Feed - Orders - Sales - Returns and Item Movement Report - Details for the Sales Reports by Report ID - Details for the Sales Reports by Period - Details for the Acquiring Expenses Reports by Report ID - Details for the Acquiring Expenses Reports by PeriodscanPriceinteger<int64>— Acceptance price in kopecksstatusobject— The latest assembly order statusessupplierStatusstring— Assembly order status set by the sellerwbStatusstring— Assembly order status set by WB system
stickerIdinteger<int64>— Sticker IDsupplyIdstring— Supply IDwarehouseIdinteger<int64>— ID of the seller warehouse from which the item was shipped
Structure 400:
codestring— Error codedetailstring— Error detailserrorsobject[]— Error datalocationstring— Parameter where the error occurredmessagestring— Error textvalueobject— Value of the parameter where the error occurred
originstring— WB internal service IDrequestIdstring— Unique request IDstatusinteger<int64>— HTTP status codetitlestring— Error title
Structure 401:
titlestring— Error titledetailstring— Error detailscodestring— Internal error coderequestIdstring— Unique request IDoriginstring— WB internal service IDstatusnumber— HTTP status codestatusTextstring— Text of the HTTP status codetimestampstring— Request date and time
Structure 402:
titlestring— Error titledetailstring— Error details. The error is only returned to services from the Solutions for business Catalog
Structure 403:
- one of:
ArhiveOrderError400,Response4XX
Structure 429:
titlestring— Error titledetailstring— Error detailscodestring— Internal error coderequestIdstring— Unique request IDoriginstring— WB internal service IDstatusnumber— HTTP status codestatusTextstring— Text of the HTTP status codetimestampstring— Request date and time
Call examples
Arguments are shown as parameter names — substitute your own values. Languages whose client does not expose this operation are omitted.
from wb_api_client.orders_fbs import Configuration, ApiClient
from wb_api_client.orders_fbs.api import OrdersFbsApi
cfg = Configuration(access_token="<your WB JWT>")
api = OrdersFbsApi(ApiClient(cfg))
result = api.get_v3_fbs_orders_archive(year=..., month=..., next=..., limit=...)
print(result)import {
Configuration,
OrdersFbsApi,
} from "@valeryverkhoturov/wb-api-client/orders-fbs";
const cfg = new Configuration({});
cfg.setAccessToken("<your WB JWT>");
const api = new OrdersFbsApi(cfg);
const { data } = await api.getV3FbsOrdersArchive(year, month, next, limit);
console.log(data);import (
"context"
"fmt"
wbordersfbs "github.com/ValeryVerkhoturov/wb-api-client-go/orders_fbs"
)
cfg := wbordersfbs.NewConfiguration()
cfg.SetAccessToken("<your WB JWT>")
client := wbordersfbs.NewAPIClient(cfg)
result, _, err := client.OrdersFbsAPI.GetV3FbsOrdersArchive(context.Background()).Year(year).Month(month).Next(next).Limit(limit).Execute()
if err != nil {
panic(err)
}
fmt.Printf("%+v\n", result)import io.github.valeryverkhoturov.wbapi.orders_fbs.ApiClient;
import io.github.valeryverkhoturov.wbapi.orders_fbs.SecretString;
import io.github.valeryverkhoturov.wbapi.orders_fbs.api.OrdersFbsApi;
ApiClient client = new ApiClient();
client.setAccessToken(new SecretString("<your WB JWT>"));
OrdersFbsApi api = new OrdersFbsApi(client);
System.out.println(api.getV3FbsOrdersArchive(year, month, next, limit));use ValeryVerkhoturov\WbApiClient\OrdersFbs\Configuration;
use ValeryVerkhoturov\WbApiClient\OrdersFbs\SecretString;
use ValeryVerkhoturov\WbApiClient\OrdersFbs\Api\OrdersFbsApi;
use GuzzleHttp\Client;
$config = (new Configuration())
->setAccessTokenSecret(new SecretString('<your WB JWT>'));
$api = new OrdersFbsApi(new Client(), $config);
print_r($api->getV3FbsOrdersArchive($year, $month, $next, $limit));#Использовать "wb-api-client"
Настройки = Новый Конфигурация();
Настройки.УстановитьТокен("<your WB JWT>");
Клиент = Новый OrdersFbsApi(Настройки);
Сообщить(Клиент.GetV3FbsOrdersArchive(year, month, next, limit).Тело);using ValeryVerkhoturov.WbApiClient.OrdersFbs.Api;
using ValeryVerkhoturov.WbApiClient.OrdersFbs.Client;
var config = new Configuration();
config.AccessTokenSecret = new SecretString("<your WB JWT>");
var api = new OrdersFbsApi(config);
Console.WriteLine(api.GetV3FbsOrdersArchive(year, month, next, limit));use wb_api_client::orders_fbs::apis::{configuration::Configuration, orders_fbs_api};
#[tokio::main]
async fn main() {
let mut cfg = Configuration::new();
cfg.set_access_token("<your WB JWT>");
let result = orders_fbs_api::get_v3_fbs_orders_archive(&cfg, year, month, next, limit).await;
println!("{:#?}", result);
}