Fetch Accounts from Clickpost

With help of this API enterprises can get all the carrier partner accounts that are currently active on their Clickpost dashboard. This API would be useful if the enterprise is not using Clickpost's allocation rules and just require the active list of accounts to assign the carrier manually

Overview

By entering the Clickpost API Key, enterprises can get all the active carrier partner accounts

Run in Postman API Reference

Usecase

This is a standard API which applies to all MPS (Multi-Piece Shipment) and SPS (Single Piece Shipment) orders

Geography

This is a standard API which supports all shipments created and transported within

  1. India
  2. North America
  3. Europe
  4. Middle East
  5. South East Asia

📘

NOTE

The API will give an array of all carrier partner accounts

Query Parameters

Field NameData TypeFieldDescriptionMax LengthExample
keystringMandatoryUnique license key provided by Clickpost for the enterprise00000000-0000-0000-0000-000000000000
activebooleanOptionalWhether enterprise wants to fetch all active carrier partner accounts or notTrue

Response

meta [meta parameters]

Field NameData TypeDescriptionExample
successBooleanIndicates the success of the API requesttrue
messageStringSUCCESS in case request was successfully processed by Clickpost, else returns error message."SUCCESS"
statusHTTP CodeThe HTTP response status code of the API request200

result [result parameters]

Field NameData TypeDescriptionExample
enterprise_nameStringThe name of the enterprise"Demo Enterprise"
accountsListContains the list of all the carrier partner accounts[
{
"courier_partner_id": 218,
"courier_name": "RedBox",
"account_code": "Redbox-test",
"account_active": true
},
{
"courier_partner_id": 86,
"courier_name": "Madhur Courier Service",
"account_code": "test",
"account_active": true
}
]
courier_partner_idnumThe carrier partner ID4
courier_namestringThe name of the carrier partner"Bluedart"
account_codestringThe account configured under a carrier partner"Xpressbees_Surface"
account_activebooleanWhether the carrier account is active or nottrue