The barcode parameter is where you enter the numeric barcodes of products.
The data that is passed using the barcode parameter will help customers to find your store offers by barcode when searching on Yandex.Market.
The barcode element can only be used to indicate numbers. If this element contains spaces, non-numeric characters or other letters, then an error will be detected during verification.Attention.
The following barcode formats are supported: EAN-13, EAN-8, UPC-A, and UPC-E.
Barcodes are checked not only for proper length. The check digit, or the last digit of the barcode, must match the other digits in accordance with a predetermined formula.
Barcodes must consist of 8, 12 or 13 digits. Barcodes containing more than 13 digits are used in labels on product shipping boxes and to exchange data between companies. These barcodes do not need to be passed.
- Usage guidelines for the YML format
In the YML format, one barcode parameter can only contain one barcode, whereas any number of barcode parameters can be included in the <offer> parameter, since one product can have several manufacturer barcodes listed in different systems.
- YML format example
<offer> <barcode>4719512011041</barcode> <barcode>884102000539</barcode> <model>RС-1100 (Cosmos S)</model> <typePrefix>Case</typePrefix> <vendor>Cooler Master</vendor> ... <offer>
The barcode element is optional.