Add or Update Cost Center
post
[PlatformAddress]/api/1.0/account?action=addOrUpdateCostCenter
Add or Update Cost Center

Example Request

Example: Add a cost center to an account
1
{
2
"name": "test cost center",
3
"code": "AB12",
4
"description": "The complete description of the cost center"
5
}
Copied!

Returns

Property
Description
success
Whether or not the cost center was added to the account
id
The unique identifier of the cost center

Throws

Code
Description
Specific Code: 24150
Account does not exist
Specific Code: 24150
The cost centers details are invalid
Last modified 3mo ago