CRM customers

Удалить клиента CRM

Changed on

Удаляет карточку клиента безвозвратно вместе с её каналами связи и связями «человек — компания». Удаляется только карточка без лидов и сделок (в том числе архивных) и не заведённая в справочник ERP — иначе 409: такого клиента убирают в архив или сливают с другой карточкой. Нужно право удаления CRM (crm:delete, crm:admin или администратор кабинета) и доступ к карточке.

delete/api/v1/crm/customers/{id}

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Path parameters

id, string uuid required

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Клиент удалён

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    7 more changes in this revision