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