Put
/v1/channel-accounts/{channelAccountId}
The “Update Channel Account by ID” method is used to update a specific Channel Account. The purpose of “Update Channel Account by ID” is to allow the Distributor/Governance and Control Account users to update their Channel Account's contact information, business information, activate/deactivate it, etc.
Limitations include: Only users with specific permissions can use this endpoint!
Security
HTTP
Type basic
Path parameters
channelAccountId
Required
Example12345
Body parameters
string
Example{
"name": "sample-channel-account-created-from-WACM-API-6",
"contactEmail": "vjollca.wacm+cha-wacm-api-6@gmail.com",
"active": true,
"address1": "test-address-001",
"address2": "test-address-001",
"country": null,
"city": "testcity",
"state": null,
"zip": "3232zip",
"mainPhone": null,
"billingPhone": null,
"billingEmail": "vjollca.wacm+cha-wacm-api-6@gmail.com",
"businessNumber": 433883,
"taxId": 40088333,
"fiscalNumber": 4008883,
"vatNumber": 400333,
"website": "https://wacm.wasabisys.com",
"purchasedStorage": 3,
"subAccountDefaultPurchasedStorage": 3,
"subAccountDefaultStorageQuotaType": "Hard quota",
"storageQuotaType": "Soft quota"
}
Responses
200
Successful operation
string
Example{
"id": 54540,
"name": "sample-channel-account-created-from-WACM-API-6",
"controlAccountId": 43800,
"controlAccountName": "Vjollca-Stage (do NOT update)",
"governanceAccountName": "Vjollca-Stage Governance (do NOT update!)",
"governanceAccountId": 44023,
"subAccountStorage": 0,
"subAccountsCount": 0,
"status": "Active",
"imageUrl": null,
"creationDate": "2024-08-05T14:59:07.561Z",
"address1": null,
"address2": null,
"country": null,
"city": "testcity",
"state": null,
"zip": null,
"mainPhone": null,
"billingPhone": null,
"contactEmail": "vjollca.wacm+cha-wacm-api-6@gmail.com",
"billingEmail": null,
"businessNumber": "433883",
"taxId": "40088333",
"fiscalNumber": "4008883",
"vatNumber": "400333",
"website": "https://wacm.wasabisys.com",
"ssoEnabled": null,
"purchasedStorage": 3,
"subAccountDefaultPurchasedStorage": 3,
"subAccountDefaultStorageQuotaType": "Hard quota",
"storageQuotaType": "Soft quota"
}