MngUpdateCustomer¶
Updates customer fields. customer_id is required. Password is not changed by this method; use MngSetCustomerPassword.
deposit_allowed and withdrawal_allowed can be updated here and act as
global customer-level Cashier gates.
Access Control¶
Requires CRM access and set_customers. Both the current customer and the target updated brand / desk must be inside the manager scope. Admin scope bypasses this check.
If the request changes email, phone, or password, set_customer_contacts is also required. If the manager does not have see_customer_contacts, contact fields in the response are masked.
Request¶
{
"command": "MngUpdateCustomer",
"extID": "1",
"data": {
"customer_id": 1,
"crm_stage": "qualified",
"assigned_manager_id": 10,
"deposit_allowed": 1,
"withdrawal_allowed": 1
}
}
Request Data¶
| Field | Type | Required | Description |
|---|---|---|---|
customer_id |
int | Yes | Customer id |
deposit_allowed |
int | No | 1 deposits allowed, 0 deposits blocked globally for this customer |
withdrawal_allowed |
int | No | 1 withdrawals allowed, 0 withdrawals blocked globally for this customer |
Response Data¶
{
"customer": {
"customer_id": 1,
"crm_stage": "qualified",
"assigned_manager_id": 10,
"deposit_allowed": 1,
"withdrawal_allowed": 1
}
}