MngGetCustomerByLogin¶
Returns the customer linked to a trading account login.
If account has customer_id = 0, the method returns not found.
Access Control¶
Requires CRM access and see_customers. The linked customer brand and desk must be inside the manager scope. Admin scope bypasses this check.
If the manager does not have see_customer_contacts, customer email and phone are returned masked.
Request¶
{
"command": "MngGetCustomerByLogin",
"extID": "1",
"data": {
"login": 100001
}
}
Response Data¶
{
"customer": {
"customer_id": 1,
"email": "[email protected]",
"full_name": "John Smith"
}
}