mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-02-03 13:22:19 +02:00
1.2 KiB
1.2 KiB
sidebar_position |
---|
2 |
Create barcodes
Generates new barcodes for products
Function CreateBarcodes(Val ClientID, Val APIKey, Val ProductsID) Export
Parameter | CLI option | Type | 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
:::
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1202180384";
Result = OPI_Ozon.CreateBarcodes(ClientID, APIKey, ProductID);
oint ozon CreateBarcodes --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --productids %productids%
{
"errors": []
}