Appearance
Update Fortex Account CRM Fields
About 165 wordsLess than 1 minute
PATCH /public/v1/fortex/accounts/{login}/crm
Only the fields present in the request body will be updated. Fields that are not included in the request body will keep their existing stored value and will not be cleared.
Path Variables
| Name | Type | Required | Rule | Description |
|---|---|---|---|---|
| login | string | Mandatory | the login of Fortex account |
Request Body
| Key | Type | Required | Rule | Description |
|---|---|---|---|---|
| connection_id | string | Mandatory | Fortex Server ID given by this API | |
| trade_not_rebate | boolean | Optional | whether the account is excluded from rebate calculation | |
| allow_crm_deposit | boolean | Optional | whether deposit is allowed via CRM for this account | |
| allow_crm_withdrawal | boolean | Optional | whether withdrawal is allowed via CRM for this account | |
| allow_crm_transfer_in | boolean | Optional | whether this account is allowed to receive an internal transfer via CRM | |
| allow_crm_transfer_out | boolean | Optional | whether this account is allowed to send an internal transfer via CRM |
Expected HTTP status code
- 204
Error
| Code | Type | Description |
|---|---|---|
400 | trade_connection_not_found | Cannot find connection from given connection_id |