Update products articles
Modifies articles of existing products
Function UpdateProductsArticles(Val ClientID, Val APIKey, Val ArticlesMap) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
ClientID | --clientid | String | ✔ | Client identifier |
APIKey | --apikey | String | ✔ | API key |
ArticlesMap | --offers | Map Of KeyAndValue | ✔ | Articles: Key > current, Value > new |
Returns: Map Of KeyAndValue - serialized JSON response from Ozon Seller API
tip
Method at API documentation: post /v1/product/update/offer-id
1C:Enterprise/OneScript code example
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ArticlesMap = New Map;
ArticlesMap.Insert("143210609", "143210612");
Result = OPI_Ozon.UpdateProductsArticles(ClientID, APIKey, ArticlesMap);
- Bash
- CMD/Bat
# JSON data can also be passed as a path to a .json file
oint ozon UpdateProductsArticles \
--clientid "***" \
--apikey "***" \
--offers "{'143210609':'143210612'}"
:: JSON data can also be passed as a path to a .json file
oint ozon UpdateProductsArticles ^
--clientid "***" ^
--apikey "***" ^
--offers "{'143210609':'143210612'}"
Result
{
"errors": []
}