diff --git a/lib/RetailCrm/ApiClient.php b/lib/RetailCrm/ApiClient.php index 9d246a3..7fb1810 100644 --- a/lib/RetailCrm/ApiClient.php +++ b/lib/RetailCrm/ApiClient.php @@ -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)) ); }