MngAddCustomerStatus¶
Creates a customer status dictionary record.
The handler accepts both snake case and legacy camel case names for description, color, and name fields.
Request¶
{
"command": "MngAddCustomerStatus",
"extID": "1",
"data": {
"brand": "default",
"type": 4,
"status_name": "Verified",
"status_description": "KYC documents approved",
"status_color": "#2f9e44",
"sort": 10
}
}
Response Data¶
{
"customer_status": {
"id": 1,
"brand": "default",
"type": 4,
"status_name": "Verified",
"status_color": "#2f9e44",
"sort": 10
}
}