Shared APIs
/Cost Account APIs
//
Update Cost Account
Update Cost Account
Security
bearerAuth
Additional configuration options for assigning the cost account to a specific hierarchy level (Enterprise, Division, or Location). If no permission is provided, the cost account is assigned to the Enterprise level by default.
Example:
{ "permission": { "permissionByEntity": "D", "permissionByValue": [ "div_auto_sac11be" ] } }
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts/{costaccountId}
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts/{costaccountId}
curl -i -X PUT \
'https://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts/{costaccountId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-PB-Developer-Partner-ID: string' \
-d '{
"description": "description",
"status": true,
"passwordEnabled": true,
"passwordCode": "test",
"billable": true,
"advanceOption": {
"permission": {
"permissionByEntity": "D",
"permissionByValue": [
"div_auto_sac11be"
]
}
}
}'