diff --git a/lib/RetailCrm/ApiClient.php b/lib/RetailCrm/ApiClient.php index 8aa0eb6..7fb1810 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)) ); } @@ -999,7 +999,7 @@ class ApiClient return $this->client->makeRequest( sprintf('/delivery/generic/%s/tracking', $code), Client::METHOD_POST, - $statusUpdate + array('statusUpdate' => json_encode($statusUpdate)) ); }