Skip to content

Get Account Code by ID

Request

Retrieves a single Account Code by its unique id.

Security
bearerAuth
Path
idstringrequired

Unique identifier of the Account Code.

Headers
X-PB-Developer-Partner-IDstring

This is the Developer Partner ID. When the developer is the only partner, this field is not required.

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

Responses

Specified Account Code has been retrieved successfully.

Bodyapplication/json
idstring

Unique identifier of the Account Code created by system.

Example:"d8WpwWzlMgYO"
codestring

This is unique Account Code.

Example:"280002"
descriptionstring

Account Code description.

Example:"this is description for test codehash280002"
Response
{ "id": "d8WpwWzlMgYO", "code": "280002", "description": "this is description for test codehash280002" }