FBS Orders (order)
Management of Orders, deliveries, warehouses, and passes
Management of Orders, deliveries, warehouses, and passes
Get new assembly orders{{ /api/v3/orders/new }}
Returns a list of all new assembly 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
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
}, - "ddate": "17.05.2024",
- "salePrice": 504600,
- "requiredMeta": [
- "uin"
], - "deliveryType": "fbs",
- "comment": "Упакуйте в плёнку, пожалуйста",
- "scanPrice": null,
- "orderUid": "165918930_629fbc924b984618a44354475ca58675",
- "article": "one-ring-7548",
- "colorCode": "RAL 3017",
- "rid": "f884001e44e511edb8780242ac120002",
- "createdAt": "2022-05-04T07:56:29Z",
- "offices": [
- "Калуга"
], - "skus": [
- "6665956397512"
], - "id": 13833711,
- "warehouseId": 658434,
- "officeId": 123,
- "nmId": 123456789,
- "chrtId": 987654321,
- "price": 1014,
- "convertedPrice": 28322,
- "currencyCode": 933,
- "convertedCurrencyCode": 643,
- "cargoType": 1,
- "isZeroOrder": false,
- "options": {
- "isB2b": true
}
}
]
}
Get assembly orders{{ /api/v3/orders }}
Returns assembly 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
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 0 to get the full list of data. For the subsequent requests, you must take the value from the |
dateFrom | integer Period start date in Unix timestamp format. By default date is 30 days before the request |
dateTo | 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
}, - "scanPrice": 1500,
- "deliveryType": "fbs",
- "supplyId": "WB-GI-92937123",
- "orderUid": "165918930_629fbc924b984618a44354475ca58675",
- "article": "one-ring-7548",
- "colorCode": "RAL 3017",
- "rid": "f884001e44e511edb8780242ac120002",
- "createdAt": "2022-05-04T07:56:29Z",
- "offices": [
- "Kaluga"
], - "skus": [
- "6665956397512"
], - "id": 13833711,
- "warehouseId": 658434,
- "officeId": 123,
- "nmId": 12345678,
- "chrtId": 987654321,
- "price": 1014,
- "convertedPrice": 28322,
- "currencyCode": 933,
- "convertedCurrencyCode": 643,
- "cargoType": 1,
- "comment": "Упакуйте в плёнку, пожалуйста",
- "isZeroOrder": false,
- "options": {
- "isB2b": true
}
}
]
}
Get assembly orders statuses{{ /api/v3/orders/status }}
Returns the statuses of assembly orders from the request.
supplierStatus
is a status of an assembly order. Its change is always triggered only by the supplier.
Possible values of supplierStatus
:
Status | Description | How to move the assembly orders to this status |
---|---|---|
new |
New order | |
confirm |
In assembly For delivery by Wildberries fbs |
Add assembly orders to the supply |
complete |
In delivery For delivery by Wildberries fbs and by WB courier wbgo |
For fbs — transfer the supply to delivery For wbgo — transfer the assembly orders to delivery |
cancel |
Canceled by seller | Cancel the order |
receive |
Received by the buyer For WB courier wbgo |
The status changes automatically |
reject |
Buyer rejection upon receipt For WB courier wbgo |
The status changes automatically |
wbStatus
— is a status of an order on the Wildberries side.
Possible values for this field are:
waiting
— the supplier confirmed the order, and the Wildberries has not received it yetsorted
— the Wildberries warehouse sorted the ordersold
— the order is soldcanceled
— the supplier canceled the ordercanceled_by_client
— the buyer canceled the order upon receiptdeclined_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
— cancellation of the order due to a defectready_for_pickup
— the assembly orders came at pickup point and waiting for the clientpostponed_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
Authorizations:
Request Body schema: application/json
orders required | Array of integers <int64> [ 1 .. 1000 ] items [ items <int64 > ] List of assembly order IDs |
Responses
Request samples
- Payload
{- "orders": [
- 5632423
]
}
Response samples
- 200
- 400
- 401
- 403
- 429
{- "orders": [
- {
- "id": 5632423,
- "supplierStatus": "new",
- "wbStatus": "waiting"
}
]
}
Get all assembly orders for re-shipment{{ /api/v3/supplies/orders/reshipment }}
Returns all assembly orders that require re-shipment
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
Authorizations:
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "orders": [
- {
- "supplyID": "WB-GI-1234567",
- "orderID": 5632423
}
]
}
Cancel the assembly order{{ /api/v3/orders/{orderId}/cancel }}
Moves the assembly orders to cancel
("Canceled by the supplier") status.
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
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Responses
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
{- "code": "IncorrectParameter",
- "message": "Передан некорректный параметр"
}
Get assembly orders stickers{{ /api/v3/orders/stickers }}
Returns a list of stickers according to the requested 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 orders IDs in a request).
- The method returns stickers only for assembly orders that are in assembly (in
confirm
status). - Available dimensions:
- 580x400 px, with parameters
width
= 58,height
= 40 - 400x300 px, with parameters
width
= 40,height
= 30
- 580x400 px, with parameters
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
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 > ] List of assembly order IDs |
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=="
}
]
}
Get a list of links to stickers that are required for cross-bordering{{ /api/v3/files/orders/external-stickers }}
Returns a list of links to stickers that are required for cross-bordering.
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 assembly orders that are in delivery (in
complete
status).
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
Authorizations:
Request Body schema: application/json
orders | Array of integers <int64> [ 1 .. 100 ] items [ items <int64 > ] List of assembly order IDs |
Responses
Request samples
- Payload
{- "orders": [
- 5346346
]
}
Response samples
- 200
- 400
- 401
- 403
- 429
{
}
Status history for cross-border orders{{ /api/v3/orders/status/history }}
Returns status history for cross-border 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
Authorizations:
Request Body schema: application/json
orders | Array of integers [ 1 .. 100 ] items Assembly orders IDs |
Responses
Request samples
- Payload
{- "orders": [
- 123456789,
- 987654321
]
}
Response samples
- 200
- 401
- 403
- 404
- 429
{- "orders": [
- {
- "deliveryDate": "string",
- "statuses": [
- {
- "date": null,
- "code": "SORTED"
}
], - "orderID": 123456789
}
]
}
Orders with client information{{ /api/v3/orders/client }}
The method allows getting information about the client by assembly order ID.
Only for cross-border orders from Turkey
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
Authorizations:
Request Body schema: application/jsonrequired
orders | Array of integers Orders list |
Responses
Request samples
- Payload
{- "orders": [
- 987654321,
- 123456789
]
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "orders": [
- {
- "firstName": "Иван",
- "fullName": "Андреев Иван Васильевич",
- "lastName": "Андреев",
- "middleName": "Васильевич",
- "orderID": 134567,
- "phone": 79871234567,
- "phoneCode": 0
}
]
}
With these methods, you can get, delete and edit the metadata of assembly orders:
Get assembly order metadata{{ /api/v3/orders/{orderId}/meta }}
Returns assembly order metadata.
Possible metadata are:
imei
— IMEIuin
— UINgtin
— GTINsgtin
— Data matrix codeexpiration
— Expiration date
If any of the metadata objects are not returned in the response, it means that the assembly order cannot have such metadata, and they cannot be added
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
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"
]
}, - "expiration": {
- "value": "12.09.2030"
}
}
}
Delete assembly order metadata{{ /api/v3/orders/{orderId}/meta }}
Removes all assembly order metadata values for the passed key.
Possible metadata are:
imei
— IMEIuin
— UINgtin
— GTINsgtin
— Data matrix code
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
Authorizations:
path Parameters
orderId required | integer <int64> Example: 5632423 Assembly order ID |
query Parameters
key | string Name of the metadata to remove ( |
Responses
Response samples
- 400
- 401
- 403
- 409
- 429
{- "message": "Incorrect request parameters"
}
Add Data Matrix code to the assembly order{{ /api/v3/orders/{orderId}/meta/sgtin }}
The method allows attaching a Data Matrix code Chestny ZNAK to an assembly order.
Attaching a Data Matrix code to an assembly order is only possible if this field is returned in the response of the method to get the metadata of the order, and the assembly order is in the confirm status.
The loaded Data Matrix code can be retrieved through the method to get the metadata of the order
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. |
Responses
Request samples
- Payload
{- "sgtins": [
- "1234567890123456"
]
}
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
{- "message": "Incorrect request body"
}
Add UIN (unique identification number) to the assembly order{{ /api/v3/orders/{orderId}/meta/uin }}
Sets the UIN for the assembly order. The assembly order can only have one UIN. You can add the code only for assembly orders in the confirm
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
- 409
- 429
{- "message": "Incorrect request body"
}
Add IMEI to the assembly order{{ /api/v3/orders/{orderId}/meta/imei }}
Sets the IMEI for the assembly order.
The assembly order can have only one IMEI. If a device has two IMEIs — IMEI and IMEI2 or IMEI1 and IMEI2 — you should only specify IMEI or IMEI1. You don't need to specify IMEI2.
You can add the code only for assembly orders in the confirm
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
- 409
- 429
{- "message": "Incorrect request body"
}
Add GTIN to the assembly order{{ /api/v3/orders/{orderId}/meta/gtin }}
Sets the GTIN (Belarus product unique identifier) for the assembly order. The assembly order can only have one GTIN. You can add the code only for assembly orders in the confirm
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
- 409
- 429
{- "message": "Incorrect request body"
}
Add expiration date to the assembly order{{ /api/v3/orders/{orderId}/meta/expiration }}
Sets the expiration date for the assembly order.
The expiration date can only be added for assembly orders that are delivered by WB and are in the confirm
status.
You can get the uploaded data in the metadata of the assembly order.
To change the expiration date, send a request with the new date.
It is impossible to remove the expiration date from the metadata of the assembly order.
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
expiration | string <date (dd.mm.yyyy)> The date until which the product is valid. No less than 30 days from the current date. |
Responses
Request samples
- Payload
{- "expiration": "12.09.2030"
}
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
The specified expiration date is less than the allowable limit
{- "code": "LowExpirationDate",
- "message": "Не удалось обновить срок годности. Указан срок меньше допустимого"
}
- Create a new supply. The ID of the created supply will be returned in the format
WB-GI-1234567
. - In the current new supply, add assembly orders that you will transport to the warehouse or pickup point. When adding assembly order to the supply, they will be moved to the
confirm
status — in assembly. - Create a box in the supply
- Check the list of boxes
- Get the box stickers, print them out and affix the stickers to the boxes according to the orders distributed in them.
- After the supply has been equipped with the necessary assembly orders, it must be handed over for delivery. If the supply is not handed over for delivery, accepting the first product at the pickup point will automatically close the supply. When handing over assembly order for delivery, they will automatically be assembled and moved to the
complete
status — in delivery. - If a supply was scanned at the acceptance point but still has unscanned products, after a certain time, you must deliver them again. Check all assembly order requiring reshipment at this time. These assembly order can be transferred to another active supply. The assembly order will also be moved to the
confirm
status — in assembly.
You can also:
- Remove a box from the supply, but only while the supply is still in assembly.
- Get a list of all assembly order added to the supply.
- Get information about all the seller's supplies or about a specific supply.
- Delete a supply provided that it is active and not tied to any assembly orders.
- Move assembly orders between active supplies. You cannot move an assembly order from a supply that is already closed, unless it requires reshipment.
- Get the supply's QR code in SVG, ZPL, or PNG formats. Available only after the supply has been handed over for delivery.
Create a new supply{{ /api/v3/supplies }}
Supplies limitations:
- Supplies applicable only for assembly orders in the FBS (Fulfillment by Seller) delivery.
- All assembly orders added to supply automatically transferred from the
new
status to theconfirm
status. - Please note that if you will
cancel
(Canceled by the seller
) the order, we will automatically remove it from the supply. - A supply can only be assembled from assembly jobs (orders) with the same dimensional type (cargoType). A new supply does not have a dimensional attribute. When the first assembly order is added to a supply, the supply acquires the dimensional attribute of that assembly order.
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
Authorizations:
Request Body schema: application/jsonrequired
name | string [ 1 .. 128 ] characters Supply name |
Responses
Request samples
- Payload
{- "name": "Some test supply"
}
Response samples
- 201
- 400
- 401
- 403
- 429
{- "id": "WB-GI-1234567"
}
Get a supplies list{{ /api/v3/supplies }}
Returns the supply list.
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
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 0 to get the full list of data. For the subsequent requests, you must take the value from the |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "next": 13833711,
- "supplies": [
- {
- "id": "WB-GI-1234567",
- "done": true,
- "createdAt": "2022-05-04T07:56:29Z",
- "closedAt": "2022-05-04T07:56:29Z",
- "scanDt": "2022-05-04T07:56:29Z",
- "name": "My test supply",
- "cargoType": 0,
- "destinationOfficeId": 123
}
]
}
Add the assembly order to the supply{{ /api/v3/supplies/{supplyId}/orders/{orderId} }}
Adds an assembly order to a supply and moves it to confirm
status.
It can also move the assembly order between active supplies. Or from a closed to an active supply, if the assembly order requires reshipment.
cargoType
field in the field.After that, you can only add tasks of the same dimensional type as the supply.
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
supplyId required | string Example: WB-GI-1234567 Supply ID |
orderId required | integer <int64> Example: 5632423 Assembly order ID |
Responses
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
{- "code": "IncorrectParameter",
- "message": "Передан некорректный параметр"
}
Get supply details{{ /api/v3/supplies/{supplyId} }}
Returns supply details.
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
Authorizations:
path Parameters
supplyId required | string Example: WB-GI-1234567 Supply ID |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "id": "WB-GI-1234567",
- "done": true,
- "createdAt": "2022-05-04T07:56:29Z",
- "closedAt": "2022-05-04T07:56:29Z",
- "scanDt": "2022-05-04T07:56:29Z",
- "name": "My test supply",
- "cargoType": 0,
- "destinationOfficeId": 123
}
Delete the supply{{ /api/v3/supplies/{supplyId} }}
Deleted the supply if it is active and does not contain any assembly 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
Authorizations:
path Parameters
supplyId required | string Example: WB-GI-1234567 Supply ID |
Responses
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
{- "code": "IncorrectParameter",
- "message": "Передан некорректный параметр"
}
Get the supply orders{{ /api/v3/supplies/{supplyId}/orders }}
Returns assembly orders assigned to the supply.
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
Authorizations:
path Parameters
supplyId required | string Example: WB-GI-1234567 Supply ID |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "orders": [
- {
- "scanPrice": null,
- "orderUid": "165918930_629fbc924b984618a44354475ca58675",
- "article": "one-ring-7548",
- "colorCode": "RAL 3017",
- "rid": "f884001e44e511edb8780242ac120002",
- "createdAt": "2022-05-04T07:56:29Z",
- "offices": [
- "Калуга"
], - "skus": [
- "6665956397512"
], - "id": 13833711,
- "warehouseId": 658434,
- "nmId": 123456789,
- "chrtId": 987654321,
- "price": 1014,
- "convertedPrice": 28322,
- "currencyCode": 933,
- "convertedCurrencyCode": 643,
- "cargoType": 1,
- "isZeroOrder": false
}
]
}
Move the supply to the delivery{{ /api/v3/supplies/{supplyId}/deliver }}
Closes the supply and moves all assembly orders to complete
(In Delivery
) status. You cannot add any assembly orders to the supply after it is closed.
If the supply wasn't handed over for delivery, than scanning its QR code or accepting the first product will automatically close the supply.
You can transfer the supply to delivery only if it contains at least one assembly order and no empty boxes.
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
Authorizations:
path Parameters
supplyId required | string Example: WB-GI-1234567 Supply ID |
Responses
Response samples
- 400
- 401
- 403
- 404
- 409
- 429
{- "code": "IncorrectParameter",
- "message": "Передан некорректный параметр"
}
Get the supply QR code{{ /api/v3/supplies/{supplyId}/barcode }}
Returns the QR code in svg, zplv (vertical), zplh (horizontal), png.
Available only after the supply has been transferred to the delivery.
Available dimensions:
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
Authorizations:
path Parameters
supplyId required | string Example: WB-GI-1234567 Supply ID |
query Parameters
type required | string Enum: "svg" "zplv" "zplh" "png" Sticker format |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 409
- 429
{- "barcode": "WB-GI-12345678",
- "file": "U3dhZ2dlciByb2Nrcw=="
}
Get supply boxes list{{ /api/v3/supplies/{supplyId}/trbx }}
Returns supply boxes list.
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
Authorizations:
path Parameters
supplyId required | string Example: WB-GI-1234567 Supply ID |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "trbxes": [
- {
- "id": "WB-TRBX-1234567",
- "orders": [
- 1234567
]
}
]
}
Add boxes to the supply{{ /api/v3/supplies/{supplyId}/trbx }}
Adds the required number of boxes to the supply.
Boxes should only be added to deliveries shipped to the pickup points.
Available only while the supply is being assembled
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
Authorizations:
path Parameters
supplyId required | string Example: WB-GI-1234567 Supply ID |
Request Body schema: application/json
amount required | integer [ 1 .. 1000 ] Boxes amount to add to the supply. |
Responses
Request samples
- Payload
{- "amount": 4
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 429
{- "trbxIds": [
- "WB-TRBX-1234567"
]
}
Delete boxes from the supply{{ /api/v3/supplies/{supplyId}/trbx }}
The method deletes boxes from the supply. Available only while the supply is being assembled.
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
Authorizations:
path Parameters
supplyId required | string Example: WB-GI-1234567 Supply ID |
Request Body schema: application/json
trbxIds required | Array of strings List of box IDs to delete from the supply. |
Responses
Request samples
- Payload
{- "trbxIds": [
- "WB-TRBX-1234567"
]
}
Response samples
- 400
- 401
- 403
- 404
- 429
{- "code": "IncorrectParameter",
- "message": "Передан некорректный параметр"
}
Get the supply box QR code stickers{{ /api/v3/supplies/{supplyId}/trbx/stickers }}
Returns QR-code stickers in svg, zplv (vertical), zplh (horizontal), png.
Available only if there are assembly orders in the box.
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
Authorizations:
path Parameters
supplyId required | string Example: WB-GI-1234567 Supply ID |
query Parameters
type required | string Enum: "svg" "zplv" "zplh" "png" Sticker format |
Request Body schema: application/json
trbxIds required | Array of strings List of supply box IDs for the sticker generation |
Responses
Request samples
- Payload
{- "trbxIds": [
- "WB-TRBX-1234567"
]
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "stickers": [
- {
- "barcode": "$WBMP:1:123:1234567",
- "file": "U3dhZ2dlciByb2Nrcw=="
}
]
}
Get offices for pass{{ /api/v3/passes/offices }}
Returns a list of offices that require a pass.
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
Authorizations:
Responses
Response samples
- 200
- 401
- 403
- 429
[- {
- "name": "Koledino",
- "address": "Kosmonavtov 10А",
- "id": 1
}
]
Get passes{{ /api/v3/passes }}
Returns a list of all seller's passes.
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
Authorizations:
Responses
Response samples
- 200
- 401
- 403
- 429
[- {
- "firstName": "Alex",
- "dateEnd": "2022-07-31 17:53:13+00:00",
- "lastName": "Petrov",
- "carModel": "Lamborghini",
- "carNumber": "A456BC123",
- "officeName": "Koledino",
- "officeAddress": "Kosmonavtov 10А",
- "officeId": 15,
- "id": 1
}
]
Create pass{{ /api/v3/passes }}
Creates a supplier pass.
The pass is valid for 48 hours from the time of creation.
Authorizations:
Request Body schema: application/jsonrequired
The total length of the full name is limited from 6 to 100 characters. The car number can contain only letters and numbers.
firstName required | string non-empty First name |
lastName required | string non-empty Last name |
carModel required | string [ 1 .. 100 ] characters Car model |
carNumber required | string [ 6 .. 9 ] characters Car number |
officeId required | integer <int64> >= 1 Office ID |
Responses
Request samples
- Payload
{- "firstName": "Alex",
- "lastName": "Petrov",
- "carModel": "Lamborghini",
- "carNumber": "A456BC123",
- "officeId": 15
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 429
{- "id": 2
}
Update pass{{ /api/v3/passes/{passId} }}
Updates the seller's pass detail
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
Authorizations:
path Parameters
passId required | integer <int64> Example: 45 Pass ID |
Request Body schema: application/jsonrequired
The total length of the full name is limited from 6 to 100 characters. The car number can contain only letters and numbers.
firstName required | string non-empty First name |
lastName required | string non-empty Last name |
carModel required | string [ 1 .. 100 ] characters Car model |
carNumber required | string [ 6 .. 9 ] characters Car number |
officeId required | integer <int64> >= 1 Office ID |
Responses
Request samples
- Payload
{- "firstName": "Alex",
- "lastName": "Petrov",
- "carModel": "Lamborghini",
- "carNumber": "A456BC123",
- "officeId": 15
}
Response samples
- 400
- 401
- 403
- 404
- 429
{- "message": "Incorrect request body"
}
Delete the pass{{ /api/v3/passes/{passId} }}
Deletes the seller's pass
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
Authorizations:
path Parameters
passId required | integer <int64> Example: 45 Pass ID |
Responses
Response samples
- 401
- 403
- 404
- 429
{- "title": "string",
- "detail": "string",
- "code": "string",
- "requestId": "string",
- "origin": "string",
- "status": 0,
- "statusText": "string",
- "timestamp": "string"
}