2024-12-20 16:27:30 +03:00
|
|
|
ClientID = "2479669";
|
|
|
|
|
APIKey = "09f65e9f-262d-4aca...";
|
2024-08-23 22:37:14 +03:00
|
|
|
|
2024-09-09 23:29:31 +03:00
|
|
|
AttributesStructure = New Structure("offer_id", "143210609");
|
2024-08-23 22:37:14 +03:00
|
|
|
|
|
|
|
|
CategoryAttribute1 = New Structure("dictionary_value_id,value", 971082156, "Speaker stand");
|
2025-03-06 20:58:59 +03:00
|
|
|
CategoryAttribute2 = New Structure("dictionary_value_id,value", 5060050, "Samsung");
|
|
|
|
|
CategoryAttribute3 = New Structure("dictionary_value_id,value", 61576, "red");
|
2024-08-23 22:37:14 +03:00
|
|
|
|
|
|
|
|
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);
|