Skip to content
Longport Whale
My Broker

Create/Modify My Broker Info

Submission from the inline "Create/Edit" drawer in a row of the My Broker list, currently using the V3 version of the endpoint. Passing an id indicates an edit, otherwise it is an add. This involves changes to real broker configuration data.

POSThttps://b-api.longbridge.xyz/atm/create_modify_brokers_my_v3

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

idstring

Broker Record ID. Provided only when editing an existing record; not sent when creating.

marketstringrequired

Market. Dropdown selection; the values come from the atm_market dynamic enum and are not fixed. This field is disabled and cannot be modified when editing.

codestringrequired

Code

namestringrequired

Name of channel broker

company_namestringrequired

Name of Counter Company

accountstring

Broker Account

contactstringrequired

Contact

contact_emailstringrequired

Contact Email. Must be in email format.

contact_phonesarray<string>required

Contact Phone. An array of { contact_phone: string }; multiple contact phones can be added or removed dynamically, and each must match the regex ^[A-Za-z0-9,.-+\s]+$.

audit_frontend_resourceobject

Frontend Audit Resource. An audit-trail field automatically appended by the frontend, containing $action/$behavior and the original field values prior to editing; not a business parameter.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs