From 93c204f32243b9856ae0036e039cc62457b005a2 Mon Sep 17 00:00:00 2001 From: Dmitry Mamontov Date: Sat, 23 Sep 2017 19:02:05 +0300 Subject: [PATCH] Fix customFieldsEdit url --- lib/RetailCrm/Methods/V5/CustomFields.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/RetailCrm/Methods/V5/CustomFields.php b/lib/RetailCrm/Methods/V5/CustomFields.php index ed6c296..3659ae8 100644 --- a/lib/RetailCrm/Methods/V5/CustomFields.php +++ b/lib/RetailCrm/Methods/V5/CustomFields.php @@ -113,7 +113,7 @@ trait CustomFields } return $this->client->makeRequest( - "/custom-fields/$entity/edit/{$customField['code']}", + "/custom-fields/$entity/{$customField['code']}/edit", "POST", ['customField' => json_encode($customField)] );