Skip to content

Get Company Codes

Request

Returns a list of Company Codes.

Security
bearerAuth
Headers
X-PB-Developer-Partner-IDstring

Developer Partner ID. Not required if the developer is the only partner.

curl -i -X GET \
  https://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/companyCodes \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'X-PB-Developer-Partner-ID: string'

Responses

A list of Company Codes has been retrieved successfully.

Bodyapplication/json
Array [
idstring

Unique identifier of the Company Code created by the system.

Example:"cmpy6789abc"
codestring

Unique Company Code value.

Example:"COMP001"
descriptionstring

Company Code description.

Example:"This is description for updated company code COMP001-u1"
]
Response
[ { "id": "cmpy6789abc", "code": "COMP001", "description": "This is description for updated company code COMP001-u1" } ]