From 1cb4074470d8444d2a96df1d6e04a46bcefe55cf Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Mon, 15 Jun 2015 16:47:47 +0300 Subject: [PATCH] stores get & stores edit --- lib/RetailCrm/ApiClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/RetailCrm/ApiClient.php b/lib/RetailCrm/ApiClient.php index bbc3d2a..f90db5a 100644 --- a/lib/RetailCrm/ApiClient.php +++ b/lib/RetailCrm/ApiClient.php @@ -740,7 +740,7 @@ class ApiClient '/reference/stores/' . $data['code'] . '/edit', Client::METHOD_POST, array( - 'site' => json_encode($data) + 'store' => json_encode($data) ) ); }