Transfer of unit marking codes
The method is available for the DBS model.
If you are using an API Key token, one of the accesses in the list is required to call the method
- inventory-and-order-processing — Order processing and inventory
- all-methods — Full account management
If you work according to the model FBS
Use the method PUT v2/campaigns/{campaignId}/orders/{orderId}/boxes.
Transmits the labeling codes for the product units in the specified order to the Market. For more information about working with labeled products, see Seller's information on the Market.
Labeling of goods in the system «Честный ЗНАК» optional for orders from individuals, but required for business orders.
For the model DBS marking codes in the system «Честный ЗНАК» are not checked in GIS MT — verification is performed only for models FBS and Express.
The following types of codes are accepted:
- Codes in the system «Честный ЗНАК» or «ASL BELGISI» (for sellers Market Yandex Go).
- WIN for jewelry.
- RNPT and GTD for imported traceable goods.
For each item in the order that requires labeling, you need to provide a list of codes. — one for each item. For example, if there are two pairs of slippers and one pair of shoes in the order, you will get a list of two codes for the first position and a list of one code for the second.
| ⚙️ Limit: 100,000 requests per hour |
|---|
Request
PUT
https://api.partner.market.yandex.ru/v2/campaigns/{campaignId}/orders/{orderId}/identifiers
Path parameters
|
Name |
Description |
|
campaignId |
Type: integer The ID of the campaign (store) — The technical identifier that represents your store in the Yandex Market system when working through the API. It is uniquely linked to your store, but it is intended only for automated interaction. You can find it using a query GET v2/campaigns or find it in the seller's office on the Market. Click on your account icon → Settings and in the menu on the left, select APIs and modules:
⚠️ Do not confuse it with:
Min value: |
|
orderId |
Type: integer The order ID. |
Body
application/json
{
"items": [
{
"id": 0,
"instances": [
{
"cis": "example",
"uin": "example",
"rnpt": "example",
"gtd": "example",
"countryCode": "RU"
}
]
}
]
}
|
Name |
Description |
||||||||||||||
|
items |
Type: object[]
A list of items that require labeling. Example
|
Responses
200 OK
Answer 200 indicates that the codes were successfully recorded. The response contains brief information about the marked products.
Body
application/json
{
"status": "OK"
}
Type: object
400 Bad Request
The request contains incorrect data. Learn more about errors when working with orders
Body
application/json
{
"status": "OK"
}
Type: object
401 Unauthorized
The authorization data is not specified in the request. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
403 Forbidden
The authorization data is incorrect or access to the resource is prohibited. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
404 Not Found
The requested resource was not found. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
420 Method Failure
The resource access limit has been exceeded. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
500 Internal Server Error
Internal error of the Market. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
pathParams:
- description: "The ID of the campaign (store) — The technical identifier that represents your store in the Yandex Market system when working through the API. It is uniquely linked to your store, but it is intended only for automated interaction.\n\nYou can find it using a query [GET\_v2/campaigns](../../reference/campaigns/getCampaigns.md) or find it in the seller's office on the Market. Click on your account icon → **Settings** and in the menu on the left, select **APIs and modules**:\n\n* block **Campaign ID**;\n* tab **Query log** → drop-down list in the block **Show logs**.\n\n⚠️ Do not confuse it with:\n- the store's identifier, which is displayed in the merchant's personal account.\n- advertising campaigns.\n"
name: campaignId
in: path
required: true
schema:
type: integer
format: int64
minimum: 1
- description: The order ID.
name: orderId
in: path
required: true
schema:
type: integer
format: int64
searchParams: []
headers: []
body: |-
{
"items": [
{
"id": 0,
"instances": [
{
"cis": "example",
"uin": "example",
"rnpt": "example",
"gtd": "example",
"countryCode": "RU"
}
]
}
]
}
schema:
type: object
required:
- items
properties:
items:
description: |
A list of items that require labeling.
type: array
items:
description: An item in the shopping cart that requires labeling.
type: object
required:
- id
- instances
properties:
id:
description: "The product ID in the order.\n\nIt comes in the response of the method [POST\_v1/businesses/{businessId}/orders](../../reference/orders/getBusinessOrders.md) — parameter `id` in `items`.\n"
type: integer
format: int64
instances:
description: |
A list of item labeling codes.
type: array
items:
description: >
Product unit ID.
Fill in only one field, depending on which system the product is
labeled in.
Read more about working with labeled products. [in the Help of
the Market for
sellers](https://yandex.ru/support/marketplace/orders/cz.html).
type: object
properties:
cis:
description: >
Identification code
product units in the system ["An honest
SIGN"](https://честныйзнак.рф/) or [«ASL
BELGISI»](https://aslbelgisi.uz) (for sellers
of the Yandex Go Market).
{% note warning "Do not escape the slash in the separator
character code. `\u001d`" %}
✅ `01030410947874432155Qbag!\u001d93Zjqw`
❌ `01030410947874432155Qbag!\\u001d93Zjqw`
Escape slashes and quotation marks in other places according
to the JSON rules.: `\\` and `\"`
{% endnote %}
type: string
uin:
description: |
The unique identification number of the jewelry.
It is a 16-digit number.
type: string
rnpt:
description: >
The registration number of the product batch.
It is a string of four numbers separated by slashes:
XXXXXXXXXX/XXXXXXXX/XXXXXXXX/XXX.
The first part — the code of the customs
office that registered the declaration for the shipment.
Further — the date, number of the declaration
and the number of the marked product in the declaration.
type: string
gtd:
description: >
Cargo customs declaration.
It is a string of three numbers separated by a slash:
XXXXXXXXXX/XXXXXXXX/XXXXXXXX.
The first part — the code of the customs
office that registered the declaration for imported goods.
Further — date and number of the declaration.
type: string
countryCode:
description: >
The country of manufacture is in the ISO 3166-1 alpha-2
format. [How to
get](../../reference/regions/getRegionsCodes.md)
type: string
minLength: 2
maxLength: 2
pattern: ^[A-Z]{2}$
example: RU
bodyType: application/json
method: put
security:
- type: apiKey
name: 'Api-Key'
in: header
- type: oauth2
x-inline: true
flows:
implicit:
authorizationUrl: https://oauth.yandex.ru/authorize
scopes:
market:partner-api: API Яндекс.Маркета / Поиска по товарам для партнеров
path: v2/campaigns/{campaignId}/orders/{orderId}/identifiers
host: https://api.partner.market.yandex.ru
No longer supported, please use an alternative and newer version.
Meaning cis must match the regular expression ^(?=.{1,256}$)\u001D?(\(?01\)?\d{14}\(?21\)?([!-~]{6,8}|[!-~]{13}|[!-~]{20})(\u001D\(?240\)?.{1,30})?\u001D\(?9[1,3]\)?.+)$.
Without the cryptotail — ^(?=[!-~]{1,256}$)(\(?01\)?\d{14}\(?21\)?(.{6,8}|.{13}|.{20}))$.