Search

DBS Orders (order)

Management of orders, metadata

DBS Orders

Management of orders, metadata

Orders DBS

To access the methods, use a token for the Marketplace category

How to work:

  1. Obtain the new order and save it until it is ready for assembly. If you do not save the order information in advance, you will only be able to access it after the order is completed (either canceled or sold)
  2. Transfer it for assembly
  3. Transfer to delivery
  4. After the order is transferred to assembly, buyer information (name, phone) becomes available.
  5. After delivering the task to the buyer, you need to notify our server that the order was accepted by the buyer or that the buyer declined the order.

Get new orders list{{ /api/v3/dbs/orders/new }}

Описание метода

Returns a list of all new orders for the seller at the moment

Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey

Responses

Response samples

Content type
application/json
{
  • "orders": [
    ]
}

Get information on completed orders{{ /api/v3/dbs/orders }}

Описание метода

Returns information on completed orders (either canceled or sold)

Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey
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 next field in the response.

dateFrom
required
integer

Period start date in Unix timestamp format

dateTo
required
integer

Period end date in Unix timestamp format

Responses

Response samples

Content type
application/json
{
  • "next": 13833711,
  • "orders": [
    ]
}

Buyer information{{ /api/v3/dbs/orders/client }}

Описание метода

The method allows getting information about the buyer by order ID

Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey
Request Body schema: application/json
required
orders
Array of integers

Orders list

Responses

Request samples

Content type
application/json
{
  • "orders": [
    ]
}

Response samples

Content type
application/json
{
  • "orders": [
    ]
}

Get orders statuses{{ /api/v3/dbs/orders/status }}

Описание метода

Returns the statuses of orders based on the provided list of order IDs

supplierStatus is a status of an order. Its change is always triggered only by the supplier.
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
deliver Order on delivery
Transfer to delivery
receive Received by the buyer
Notify that the order has been accepted by the buyer
reject Declined upon receipt
Notify that the buyer has declined the order
cancel Canceled by the supplier Cancel the order
cancel_missed_call Order cancellation due to unreachable customer
The status changes automatically

wbStatus is a status of an order on the Wildberries side.
Possible values for this field are:

  • waiting - order in work
  • sorted - order sorted
  • sold - the buyer got the order
  • canceled - order canceled
  • canceled_by_client - the buyer canceled the order
  • declined_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 defect
  • ready_for_pickup - the order arrived the pickup point
  • canceled_by_missed_call - order cancellation due to unreachable customer. For delivery by supplier
Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey
Request Body schema: application/json
orders
required
Array of integers <int64> [ 1 .. 1000 ] items [ items <int64 > ]

Orders IDs list

Responses

Request samples

Content type
application/json
{
  • "orders": [
    ]
}

Response samples

Content type
application/json
{
  • "orders": [
    ]
}

Cancel the order{{ /api/v3/dbs/orders/{orderId}/cancel }}

Описание метода

Moves the order to cancel ("Canceled by the supplier") status

Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey
path Parameters
orderId
required
integer <int64>
Example: 5632423

Order ID

Responses

Response samples

Content type
application/json
{
  • "code": "IncorrectParameter",
  • "message": "Incorrect parameter value"
}

Transfer to assembly{{ /api/v3/dbs/orders/{order}/confirm }}

Описание метода

Transfers the order to the status confirm ("On assembly")

Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey
path Parameters
order
required
integer <int64>
Example: 5632423

Order ID

Responses

Response samples

Content type
application/json
{
  • "code": "IncorrectParameter",
  • "message": "Incorrect parameter value"
}

Transfer to delivery{{ /api/v3/dbs/orders/{order}/deliver }}

Описание метода

Transfers the order to the status deliver ("In delivery")

Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey
path Parameters
order
required
integer <int64>
Example: 5632423

Order ID

Responses

Response samples

Content type
application/json
{
  • "code": "IncorrectParameter",
  • "message": "Incorrect parameter value"
}

Notify that the order has been accepted by the buyer{{ /api/v3/dbs/orders/{order}/receive }}

Описание метода

Transfers the order to the status receive ("Received by the buyer")

Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey
path Parameters
order
required
integer <int64>
Example: 5632423

Order ID

Request Body schema: application/json
required
code
string

Confirmation сode. Displayed to the buyer on the website and in the Wildberries app

Responses

Request samples

Content type
application/json
{
  • "code": "123456"
}

Response samples

Content type
application/json
{
  • "code": "IncorrectParameter",
  • "message": "Incorrect parameter value"
}

Notify that the buyer has declined the order{{ /api/v3/dbs/orders/{order}/reject }}

Описание метода

Transfers to the status reject ("Declined upon receipt")

Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey
path Parameters
order
required
integer <int64>
Example: 5632423

Order ID

Request Body schema: application/json
required
code
string

Confirmation сode. Displayed to the buyer on the website and in the Wildberries app

Responses

Request samples

Content type
application/json
{
  • "code": "123456"
}

Response samples

Content type
application/json
{
  • "code": "IncorrectParameter",
  • "message": "Incorrect parameter value"
}

Metadata

To access the methods, use a token for the Marketplace category

Get order metadata{{ /api/v3/dbs/orders/{orderId}/meta }}

Описание метода

Returns order metadata. Possible metadata is imei, uin, gtin, sgtin.
The method response returns the metadata available for the assembly job. Empty response means there is no metadata available for the order

Maximum of 300 requests per minute for all methods in the Marketplace category per one seller's account
Authorizations:
HeaderApiKey
path Parameters
orderId
required
integer <int64>
Example: 5632423

Order ID

Responses

Response samples

Content type
application/json
{
  • "meta": {
    }
}

Delete order metadata{{ /api/v3/dbs/orders/{orderId}/meta }}

Описание метода

Removes all order metadata values for the passed key. Possible metadata is imei, uin, gtin, sgtin.

Authorizations:
HeaderApiKey
path Parameters
orderId
required
integer <int64>
Example: 5632423

Order ID

query Parameters
key
string

Name of metadata to delete (imei, uin, gtin, sgtin). Only one value is passed.

Responses

Response samples

Content type
application/json
Example
{
  • "code": "IncorrectRequest",
  • "message": "Incorrect request parameters"
}

Add Data Matrix code to the order (Chestny ZNAK){{ /api/v3/dbs/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/

Maximum of 1 000 requests per minute in total per one seller's account:
1. Assign UIN to the order
2. Assign IMEI to the order
3. Assign GTIN to the order
4. Assign Data Matrix code to the order
Authorizations:
HeaderApiKey
path Parameters
orderId
required
integer <int64>
Example: 5632423

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

Content type
application/json
{
  • "sgtins": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "code": "IncorrectRequestBody",
  • "message": "Incorrect request body"
}

Add UIN (unique identification number) to the order{{ /api/v3/dbs/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 and that are delivered by Wildberries

Maximum of 1 000 requests per minute in total per one seller's account:
1. Assign UIN to the order
2. Assign IMEI to the order
3. Assign GTIN to the order
4. Assign Data Matrix code to the order
Authorizations:
HeaderApiKey
path Parameters
orderId
required
integer <int64>
Example: 5632423

Order ID

Request Body schema: application/json
uin
required
string = 16 characters

UIN

Responses

Request samples

Content type
application/json
{
  • "uin": "1234567890123456"
}

Response samples

Content type
application/json
Example
{
  • "code": "IncorrectRequestBody",
  • "message": "Incorrect request body"
}

Add IMEI to the order{{ /api/v3/dbs/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 and that are delivered by Wildberries

Maximum of 1 000 requests per minute in total per one seller's account:
1. Assign UIN to the order
2. Assign IMEI to the order
3. Assign GTIN to the order
4. Assign Data Matrix code to the order
Authorizations:
HeaderApiKey
path Parameters
orderId
required
integer <int64>
Example: 5632423

Order ID

Request Body schema: application/json
imei
required
string = 15 characters

IMEI

Responses

Request samples

Content type
application/json
{
  • "imei": "123456789012345"
}

Response samples

Content type
application/json
Example
{
  • "code": "IncorrectRequestBody",
  • "message": "Incorrect request body"
}

Add GTIN to the order{{ /api/v3/dbs/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 and that are delivered by Wildberries

Maximum of 1 000 requests per minute in total per one seller's account:
1. Assign UIN to the order
2. Assign IMEI to the order
3. Assign GTIN to the order
4. Assign Data Matrix code to the order
Authorizations:
HeaderApiKey
path Parameters
orderId
required
integer <int64>
Example: 5632423

Order ID

Request Body schema: application/json
gtin
required
string = 13 characters

GTIN

Responses

Request samples

Content type
application/json
{
  • "gtin": "1234567890123"
}

Response samples

Content type
application/json
Example
{
  • "code": "IncorrectRequestBody",
  • "message": "Incorrect request body"
}