DBW Orders (ordersdbw)
How to work:
- Get a new assembly order.
- Transfer it for assembly.
- After the assembly order is moved to assembly, information about the courier (phone, vehicle number) becomes available. To allow the courier to contact you, link your contacts to the warehouse. You can also get the current list of your contacts.
- Get, print, and attach the stickers.
- Transfer to delivery.
- Waiting for the courier.
- The courier picks up the order and delivers it to the byuer.
- The byuer accepts or declines the order.
- If the byuer accepts the order, the courier changes the assembly order status to
receive
. If the buyer declines, it is changed toreject
.
How to work:
- Get a new assembly order.
- Transfer it for assembly.
- After the assembly order is moved to assembly, information about the courier (phone, vehicle number) becomes available. To allow the courier to contact you, link your contacts to the warehouse. You can also get the current list of your contacts.
- Get, print, and attach the stickers.
- Transfer to delivery.
- Waiting for the courier.
- The courier picks up the order and delivers it to the byuer.
- The byuer accepts or declines the order.
- If the byuer accepts the order, the courier changes the assembly order status to
receive
. If the buyer declines, it is changed toreject
.
Get new orders{{ /api/v3/dbw/orders/new }}
Returns a list of all new orders.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
Responses
Response samples
- 200
- 401
- 403
- 429
{- "orders": [
- {
- "address": {
- "fullAddress": "Chelyabinsk Region, Chelyabinsk, 51st Arabkir Street, Building 10A, Apartment 42",
- "longitude": 44.519068,
- "latitude": 40.20192
}, - "salePrice": 504600,
- "requiredMeta": [
- "uin"
], - "comment": "Упакуйте в пленку, пожалуйста",
- "options": {
- "isB2b": true
}, - "orderUid": "165918930_629fbc924b984618a44354475ca58675",
- "groupId": "7a2c8810-1db2-4011-9682-5c7fa33afd83",
- "article": "one-ring-7548",
- "colorCode": "RAL 3017",
- "rid": "f884001e44e511edb8780242ac120002",
- "createdAt": "2022-05-04T07:56:29Z",
- "skus": [
- "6665956397512"
], - "id": 13833711,
- "warehouseId": 658434,
- "nmId": 123456789,
- "chrtId": 987654321,
- "price": 1014,
- "convertedPrice": 1014,
- "currencyCode": 933,
- "convertedCurrencyCode": 643,
- "cargoType": 1,
- "isZeroOrder": false
}
]
}
Get orders{{ /api/v3/dbw/orders }}
Returns orders information without current status.
You can get data for a specified period, maximum of 30 calendar days per request.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
query Parameters
limit required | integer [ 1 .. 1000 ] Pagination parameter. Sets the limit for the amount of data returned |
next required | integer <int64> Pagination parameter. Sets the value from which to retrieve the next batch. It should start at |
dateFrom required | integer Period start date in Unix timestamp format |
dateTo required | integer Period end date in Unix timestamp format |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "next": 13833711,
- "orders": [
- {
- "address": {
- "fullAddress": "Chelyabinsk Region, Chelyabinsk, 51st Arabkir Street, Building 10A, Apartment 42",
- "longitude": 44.519068,
- "latitude": 40.20192
}, - "options": {
- "isB2b": true
}, - "orderUid": "165918930_629fbc924b984618a44354475ca58675",
- "groupId": "7a2c8810-1db2-4011-9682-5c7fa33afd83",
- "article": "one-ring-7548",
- "colorCode": "RAL 3017",
- "rid": "f884001e44e511edb8780242ac120002",
- "createdAt": "2022-05-04T07:56:29Z",
- "skus": [
- "6665956397512"
], - "id": 13833711,
- "warehouseId": 658434,
- "nmId": 123456789,
- "chrtId": 987654321,
- "price": 1014,
- "convertedPrice": 1014,
- "currencyCode": 933,
- "convertedCurrencyCode": 643,
- "cargoType": 1,
- "comment": "Упакуйте в пленку, пожалуйста",
- "isZeroOrder": false
}
]
}
Delivery date and time{{ /api/v3/dbw/orders/delivery-date }}
Method provides information about the delivery date and time selected by the buyer for orders.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
Request Body schema: application/jsonrequired
orders | Array of integers[ items [ 1 .. 1000 ] items ] Assembly orders ID list |
Responses
Request samples
- Payload
{- "orders": [
- 1234567890
]
}
Response samples
- 200
- 400
- 401
- 403
- 429
{- "orders": [
- {
- "dTimeFrom": "11:11",
- "dTimeTo": "22:22",
- "dTimeFromOld": "12:30",
- "dTimeToOld": "22:30",
- "dDateOld": "2025-01-28",
- "dDate": "2025-02-20",
- "id": 1234567890
}
]
}
Get orders statuses{{ /api/v3/dbw/orders/status }}
Returns the statuses of orders based on the provided list of assembly order IDs
supplierStatus
is a status of an order. The trigger for its change is the action of the seller himself.
Possible values for this field are:
Status | Description | How to move an order to this status |
---|---|---|
new |
New order | |
confirm |
Order on assembly | Transfer to assembly |
complete |
Order on delivery |
Transfer to delivery |
receive |
Received by the buyer |
Changed by the courier |
reject |
Declined upon receipt |
Changed by the courier |
cancel |
Canceled by the seller | Cancel the order |
cancel_missed_call |
Cancellation due to unreachable buyer |
The status changes automatically |
wbStatus
is a status of an order on the Wildberries side.
Possible values for this field are:
waiting
— order in worksold
— the buyer got the ordercanceled
— order canceledcanceled_by_client
— the buyer canceled the orderdeclined_by_client
— the buyer canceled the order in the first hour
Cancellation is available to the buyer in the first hour from the moment of order, if the order is not transferred to confirm status.defect
— order canceled due to a defectcanceled_by_missed_call
— cancellation due to unreachable buyerpostponed_delivery
— courier delivery is postponed
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
Request Body schema: application/json
orders required | Array of integers <int64> [ 1 .. 1000 ] items [ items <int64 > ] Orders IDs list |
Responses
Request samples
- Payload
{- "orders": [
- 5632423
]
}
Response samples
- 200
- 400
- 401
- 403
- 429
{- "orders": [
- {
- "id": 5632423,
- "supplierStatus": "new",
- "wbStatus": "string"
}
]
}
Transfer to assembly{{ /api/v3/dbw/orders/{orderId}/confirm }}
Transfers the assembly order to the confirm
status — on assembly.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Responses
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
{- "message": ""
}
Get orders stickers{{ /api/v3/dbw/orders/stickers }}
Returns a list of stickers according to the assembly orders.
You can request a sticker in svg
, zplv
(vertical), zplh
(horizontal) and png
formats.
Method limitations:
- You cannot request more than 100 stickers at a time (no more than 100 assembly order IDs in a request).
- The method returns stickers only for orders that are in assembly (in
confirm
status). - Available dimensions:
- 580x400 px, with
width=58&height=40
in request - 400x300 px, with
width=40&height=30
in request
- 580x400 px, with
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
query Parameters
type required | string Enum: "svg" "zplv" "zplh" "png" Sticker format |
width required | integer Enum: 58 40 Sticker width |
height required | integer Enum: 40 30 Sticker height |
Request Body schema: application/json
orders | Array of integers <int64> [ 1 .. 100 ] items [ items <int64 > ] Assembly orders ID list |
Responses
Request samples
- Payload
{- "orders": [
- 5346346
]
}
Response samples
- 200
- 400
- 401
- 403
- 429
{- "stickers": [
- {
- "orderId": 5346346,
- "partA": "231648",
- "partB": "9753",
- "barcode": "!uKEtQZVx",
- "file": "PD94bWwgdmVyc2lvbj0iMS4wIj8+CjwhLS0gR2VuZXJhdGVkIGJ5IFNWR28gLS0+Cjxzdmcgd2lkdGg9IjQwMCIgaGVpZ2h0PSIzMDAiCiAgICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjQwMCIgaGVpZQiIGhlaWdodD0iMTcwIiBzdHlsZT0iZmlsbDpibGFjayIgLz4KPHJlY3QgeD0iMzE4IiB5PSIyMCIgd2lkdGg9IjYiIGhlaWdodD0iMTcwIiBzdHlsZT0iZmlsbDpibGFjayIgLz4KPHJlY3QgeD0iMzI2IiB5PSIyMCIgd2lkdGg9IjIiIGhlaWdodD0iMTcwIiBzdHlsZT0iZmlsbDpibGFjayIgLz4KPHJlY3QgeD0iMzMwIiB5PSIyMCIgd2lkdGg9IjQiIGhlaWdodD0iMTcwIiBzdHlsZT0iZmlsbDpibGFjayIgLz4KPHJlY3QgeD0iMjAiIHk9IjIwMCIgd2lkdGg9IjM1MCIgaGVpZ2h0PSI5MCIgc3R5bGU9ImZpbGw6YmxhY2siIC8+Cjx0ZXh0IHg9IjMwIiB5PSIyNDAiIHN0eWxlPSJmaWxsOndoaXRlO2ZvbnQtc2l6ZTozMHB0O3RleHQtYW5jaG9yOnN0YXJ0IiA+MjMxNjQ4PC90ZXh0Pgo8dGV4dCB4PSIzNTAiIHk9IjI3MCIgc3R5bGU9ImZpbGw6d2hpdGU7Zm9udC1zaXplOjUwcHQ7dGV4dC1hbmNob3I6ZW5kIiA+OTc1MzwvdGV4dD4KPC9zdmc+Cg=="
}
]
}
Transfer to delivery{{ /api/v3/dbw/orders/{orderId}/assemble }}
Transfers the assembly order to the status complete
— in delivery.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Responses
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
{- "message": ""
}
Courier info{{ /api/v3/dbw/orders/courier }}
Method provides the courier's contact information and vehicle number based on the assembly order ID. For assembly orders in the statuses confirm
and complete
.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
Request Body schema: application/jsonrequired
orders | Array of integers Assembly orders ID list |
Responses
Request samples
- Payload
{- "orders": [
- 987654321,
- 123456789
]
}
Response samples
- 200
- 400
- 401
- 403
- 429
{- "orders": [
- {
- "courierInfo": {
- "contacts": {
- "carNumber": "х111хх11",
- "phone": 71230971931
}, - "mustBeAssigned": true,
- "updatedAt": "2025-01-28T14:33:10+03:00"
}, - "orderID": 2876979713
}
]
}
Cancel the order{{ /api/v3/dbw/orders/{orderId}/cancel }}
Moves the assembly order to cancel
status — canceled by the seller.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Responses
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
{- "message": ""
}
Get order metadata{{ /api/v3/dbw/orders/{orderId}/meta }}
Returns assembly order metadata.
The list of metadata available for the assembly order can be obtained in the list of new assembly orders, field requiredMeta
.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Responses
Response samples
- 200
- 401
- 403
- 404
- 429
{- "meta": {
- "imei": {
- "value": "123456789012345"
}, - "uin": {
- "value": "123456789012345"
}, - "gtin": {
- "value": "123456789012345"
}, - "sgtin": {
- "value": [
- "123456789012345"
]
}
}
}
Delete order metadata{{ /api/v3/dbw/orders/{orderId}/meta }}
Removes all order metadata values for the passed key. Possible metadata is imei
, uin
, gtin
, sgtin
.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 300 requests | 200 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Exceptions are the methods:
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
query Parameters
key | string Name of metadata to delete ( |
Responses
Response samples
- 400
- 401
- 403
- 409
- 429
{- "message": ""
}
Add Data Matrix code to the order (Chestny ZNAK){{ /api/v3/dbw/orders/{orderId}/meta/sgtin }}
This method allows you to assign a Data Matrix code (Chestny ZNAK marking) to an order.
The assignment of a Data Matrix code to an order is only possible if this field is returned in the response of the Get order metadata method and the order is in the confirm
status.
You can retrieve the uploaded Data Matrix code using the Get order metadata method.
For more information about Data Matrix Codes please check: https://chestnyznak.ru/en/
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 1000 requests | 60 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Request Body schema: application/json
sgtins | Array of strings [ 1 .. 24 ] items List of Data Matrix codes. From 16 to 135 characters for one label |
Responses
Request samples
- Payload
{- "sgtins": [
- "1234567890123456"
]
}
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
Некорректное тело запроса
{- "message": ""
}
Add UIN (unique identification number) to the order{{ /api/v3/dbw/orders/{orderId}/meta/uin }}
Sets the UIN for the order. The order can only have one UIN. You can add the code only for orders in the confirmed
status.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 1000 requests | 60 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Request Body schema: application/json
uin required | string = 16 characters UIN |
Responses
Request samples
- Payload
{- "uin": "1234567890123456"
}
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
Некорректное тело запроса
{- "message": ""
}
Add IMEI to the order{{ /api/v3/dbw/orders/{orderId}/meta/imei }}
Sets the IMEI for the order. The order can have only one IMEI. You can add the code only for orders in the confirmed
status.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 1000 requests | 60 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Request Body schema: application/json
imei required | string = 15 characters IMEI |
Responses
Request samples
- Payload
{- "imei": "123456789012345"
}
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
Некорректное тело запроса
{- "message": ""
}
Add GTIN to the order{{ /api/v3/dbw/orders/{orderId}/meta/gtin }}
Sets the GTIN (Belarus product unique identifier) for the order. The order can only have one GTIN. You can add the code only for orders in the confirmed
status.
Period | Limit | Interval | Burst |
---|---|---|---|
1 minute | 1000 requests | 60 milliseconds | 20 requests |
One request with a response code of 409
is counted as 5 requests
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Request Body schema: application/json
gtin required | string = 13 characters GTIN |
Responses
Request samples
- Payload
{- "gtin": "1234567890123"
}
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
Некорректное тело запроса
{- "message": ""
}