Create barcodes
Generates new barcodes for products
Function CreateBarcodes(Val ClientID, Val APIKey, Val ProductsID) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| ClientID | --clientid | String | ✔ | Client identifier |
| APIKey | --apikey | String | ✔ | API key |
| ProductsID | --productids | String, Array of String | ✔ | Products 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 = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "2873814040";
Result = OPI_Ozon.CreateBarcodes(ClientID, APIKey, ProductID);
- Bash
- CMD/Bat
oint ozon CreateBarcodes \
--clientid "***" \
--apikey "***" \
--productids 2876547413
oint ozon CreateBarcodes ^
--clientid "***" ^
--apikey "***" ^
--productids 2876547413
Result
{
"errors": []
}