diff --git a/retailcrm/lib/RetailcrmOrderBuilder.php b/retailcrm/lib/RetailcrmOrderBuilder.php index cf54f7a..b1ac536 100644 --- a/retailcrm/lib/RetailcrmOrderBuilder.php +++ b/retailcrm/lib/RetailcrmOrderBuilder.php @@ -256,6 +256,10 @@ class RetailcrmOrderBuilder $customer = $this->createdCustomer; } else { $crmCustomer = RetailcrmTools::mergeCustomerAddress($customer, $this->buildRegularAddress()); + if (isset($crmCustomer['tags'])) { + unset($crmCustomer['tags']); + } + $response = $this->api->customersEdit($crmCustomer); if ($response instanceof RetailcrmApiResponse && $response->isSuccessful()) {