1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-13 23:36:04 +02:00
Files
OpenIntegrations/docs/en/examples/Ozon/CreateProductByOzonID.txt
Vitaly the Alpaca (bot) 473c8f9e5f Main build (Jenkins)
2024-12-20 16:27:30 +03:00

14 lines
560 B
Plaintext
Vendored

ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ItemStructure = New Structure;
ItemStructure.Insert("name" , "New imported product");
ItemStructure.Insert("sku" , 1626044001);
ItemStructure.Insert("offer_id" , "91132");
ItemStructure.Insert("price" , "1100");
ItemStructure.Insert("old_price" , "1100");
ItemStructure.Insert("vat" , "0.1");
ItemStructure.Insert("currency_code", "RUB");
Result = OPI_Ozon.CreateProductByOzonID(ClientID, APIKey, ItemStructure);