How do I assign an account to a trader?
Quick answer
Open the account in the admin panel and choose the trader record to assign it to, or assign it while creating accounts. Over the API, `PUT /v1/accounts/{number}/trader` with a name and email assigns it and creates the trader record if needed. Then send the trader the account's credentials.
Detailed answer
Assignment links an account to a person so you know who holds it.
In the admin panel
- Open the account from Accounts.
- Choose assign and pick or create a trader.
- Share the Account Number, Password and Server.
Over the API
PUT /v1/accounts/{number}/traderwith{name, email}.- A known email keeps its stored name; the name is used only when creating a new record.
- If the account is already held by someone else, the call is refused with the current holder's ID, so a mistyped number cannot silently move a paying trader's account.
- Assigning the same trader again changes nothing, so retries are safe.
Sessions
Assigning an account to a different trader ends any live sessions on it.
Good practice
Assign accounts from pre-created inventory as sales come in, and record the account number against the order in your own system for reconciliation.
PropExecutor team · Updated
Related questions
All 23 questions in Managing accounts and traders · Every category