1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-24 05:36:29 +02:00
OpenIntegrations/docs/en/examples/Ozon/CreateProductByOzonID.txt
2024-09-21 10:57:02 +03:00

14 lines
560 B
Plaintext

ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
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);