Skip to main content

Update products articles

Modifies articles of existing products

Function UpdateProductsArticles(Val ClientID, Val APIKey, Val ArticlesMap) Export

ParameterCLI optionTypeRequiredDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
ArticlesMap--offersMap Of KeyAndValueArticles: 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);
    # JSON data can also be passed as a path to a .json file

oint ozon UpdateProductsArticles \
--clientid "***" \
--apikey "***" \
--offers "{'143210609':'143210612'}"
Result
{
"errors": []
}