MngLinkAccountToCustomer¶
Links a trading account to a customer. This command belongs to the account API because the relation is stored in Users.customer_id.
This method updates only Users.customer_id. Account brand scope is derived from AccountRecord.group -> GroupRecord.brand; customer brand is not copied into the account.
Request¶
{
"command": "MngLinkAccountToCustomer",
"extID": "1",
"data": {
"login": 100001,
"customer_id": 1
}
}
Response Data¶
{
"login": 100001,
"customer_id": 1,
"brand": "ion4",
"update_time": 1713000100
}