Creates a new Account Code record. The code should be unique per tenant.
Security
bearerAuth
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/accountCodes
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/accountCodes
curl -i -X POST \
https://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/accountCodes \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-PB-Developer-Partner-ID: string' \
-d '{
"code": "278001",
"description": "this is description for test code 278001"
}'Response
{ "id": "d8WpwWzlMgYO" }