mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-04-17 12:06:34 +02:00
15 lines
767 B
Plaintext
Vendored
15 lines
767 B
Plaintext
Vendored
ClientID = "2479669";
|
|
APIKey = "09f65e9f-262d-4aca...";
|
|
|
|
AttributesStructure = New Structure("offer_id", "143210609");
|
|
|
|
CategoryAttribute1 = New Structure("dictionary_value_id,value", 971082156, "Speaker stand");
|
|
CategoryAttribute2 = New Structure("dictionary_value_id,value", 5060050 , "Samsung");
|
|
CategoryAttribute3 = New Structure("dictionary_value_id,value", 61576 , "red");
|
|
|
|
OPI_Ozon.CompleteComplexAttribute(AttributesStructure, 5076 , 0, CategoryAttribute1);
|
|
OPI_Ozon.CompleteComplexAttribute(AttributesStructure, 85 , 0, CategoryAttribute2);
|
|
OPI_Ozon.CompleteComplexAttribute(AttributesStructure, 10096, 0, CategoryAttribute3);
|
|
|
|
Result = OPI_Ozon.UpdateProductsAttributes(ClientID, APIKey, AttributesStructure);
|