diff --git a/CHANGELOG.md b/CHANGELOG.md index eccd6942..5a1b2c91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2024-12-17 v6.6.1 +- Исправлены API методы по взаимодействию с пользовательскими полями и справочниками + ## 2024-12-09 v6.6.0 - Добавлено динамическое изменение свойств товаров при настройке экспорта diff --git a/intaro.retailcrm/classes/general/ApiClient_v5.php b/intaro.retailcrm/classes/general/ApiClient_v5.php index cfcb3d89..c464d4cf 100644 --- a/intaro.retailcrm/classes/general/ApiClient_v5.php +++ b/intaro.retailcrm/classes/general/ApiClient_v5.php @@ -1508,7 +1508,7 @@ class ApiClient } return $this->client->makeRequest( - "/custom-fields/$entity/edit/{$customField['code']}", + "/custom-fields/$entity/{$customField['code']}/edit", Client::METHOD_POST, array('customField' => json_encode($customField)) ); @@ -1591,7 +1591,7 @@ class ApiClient } return $this->client->makeRequest( - "/custom-fields/dictionaries/{$customDictionary['code']}/create", + "/custom-fields/dictionaries/create", Client::METHOD_POST, array('customDictionary' => json_encode($customDictionary)) ); diff --git a/intaro.retailcrm/description.ru b/intaro.retailcrm/description.ru index 18aaf57b..b7570130 100644 --- a/intaro.retailcrm/description.ru +++ b/intaro.retailcrm/description.ru @@ -1 +1 @@ -- Добавлено динамическое изменение свойств товаров при настройке экспорта +- Исправлены API методы по взаимодействию с пользовательскими полями и справочниками diff --git a/intaro.retailcrm/install/version.php b/intaro.retailcrm/install/version.php index f8b6d402..c35d6152 100644 --- a/intaro.retailcrm/install/version.php +++ b/intaro.retailcrm/install/version.php @@ -1,6 +1,6 @@ '6.6.0', - 'VERSION_DATE' => '2024-12-09 14:00:00' + 'VERSION' => '6.6.1', + 'VERSION_DATE' => '2024-12-17 13:00:00' ]; diff --git a/intaro.retailcrm/lib/component/constants.php b/intaro.retailcrm/lib/component/constants.php index 5e706b51..327d22f0 100644 --- a/intaro.retailcrm/lib/component/constants.php +++ b/intaro.retailcrm/lib/component/constants.php @@ -18,7 +18,7 @@ namespace Intaro\RetailCrm\Component; */ class Constants { - public const MODULE_VERSION = '6.5.39'; + public const MODULE_VERSION = '6.6.1'; public const CRM_PURCHASE_PRICE_NULL = 'purchasePrice_null'; public const BITRIX_USER_ID_PREFIX = 'bitrixUserId-'; public const CRM_USERS_MAP = 'crm_users_map';