Skip to main content

Create barcodes

Generates new barcodes for products

Function CreateBarcodes(Val ClientID, Val APIKey, Val ProductsID) Export

ParameterCLI optionTypeRequiredDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
ProductsID--productidsString, Array of StringProducts IDs for barcodes creating

Returns: Map Of KeyAndValue - serialized JSON response from Ozon Seller API


tip

You can create barcodes for a maximum of 100 products per request

From one merchant account, you can use the method no more than 20 times per minute

Method at API documentation: post /v1/barcode/generate


1C:Enterprise/OneScript code example
    ClientID  = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";

Result = OPI_Ozon.CreateBarcodes(ClientID, APIKey, ProductID);
    oint ozon CreateBarcodes \
--clientid "***" \
--apikey "***" \
--productids 1237069598
Result
{
"errors": []
}