diff --git a/lib/RetailCrm/ApiClient.php b/lib/RetailCrm/ApiClient.php index 8aa0eb6..9d246a3 100644 --- a/lib/RetailCrm/ApiClient.php +++ b/lib/RetailCrm/ApiClient.php @@ -831,7 +831,7 @@ class ApiClient return $this->client->makeRequest( sprintf('/store/setting/%s/edit', $configuration['code']), Client::METHOD_POST, - $configuration + array('configuration' => json_encode($configuration)) ); }