Skip to content

MngConvertLeadToCustomer

Creates a customer from lead fields and marks the lead as converted.

Access Control

Requires CRM access and set_customers. Lead brand and desk must be inside the manager scope. If the lead has email or phone, set_customer_contacts is also required because conversion creates a customer with contact fields. The backend uses the resolved manager id from staff access context as converter.

Request

{
  "command": "MngConvertLeadToCustomer",
  "extID": "1",
  "data": {
    "lead_id": 1
  }
}

Response Data

{
  "lead_id": 1,
  "customer_id": 1001
}