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)] );