Pincode Carrier Serviceability

The API takes the pickup and drop Pincode and returns an array of all the serviceable courier partners and their corresponding shipping charges and committed SLAs

Overview

By entering the pick_up and drop pin codes, the enterprises can determine whether the carrier partner will be able to service the delivery or not.

  1. Enterprise will be able to know which types of services are available for the particular pick-up and drop pincode.

    1. They can know if COD (Cash on Delivery), PREPAID (payment done in advance) or EXCHANGE (Deliver one good and take one good back to the warehouse) are serviceable or not by the carrier partner
  2. Enterprise can use the serviceability API to trigger order creation/ order manifestation based on the API response

  3. Enterprise can get the shipping charge for carrier partners who are servicing the particular pin codes

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

🚧

NOTE

The API will give an array of carrier partners in response only when either one of COD, PREPAID or EXCHANGE is available for a particular carrier partner

🚧

comitted_sla is populated only when the SLA has been uploaded and the service is enabled.

Request Payload

Mandatory Field

Field NameData TypeFieldDescriptionMax LengthExample
drop_pincodenumMandatoryThe drop pincode for which the serviceability needs to be ascertained6 char380001
pickup_pincodenumMandatoryThe pickup pincode for which the serviceability needs to be ascertained6 char380015

optional [optional parameters]

Field NameData TypeFieldDescriptionMax LengthExample
lengthfloatOptionalThe length of the shipment in centimeter. This field becomes mandatory if enterprise wants to calculate shipping_charge810.25
breadthfloatOptionalThe breadth of the shipment in centimeter. This field becomes mandatory if enterprise wants to calculate shipping_charge820.50
height floatOptionalThe height of the shipment in centimeter. This field becomes mandatory if enterprise wants to calculate shipping_charge820.50
invoice_valuefloatOptionalThe invoice value of the shipment in INR.10200.75
weightfloatOptionalThe weight of the shipment in kilograms. This field becomes mandatory if enterprise wants to calculate shipping_charge82.75
cp_idnumOptionalCarrier Partner ID. This can be found on the dashboard or you can refer it to here. If you pass a cp_id, then the API will return the serviceability of that particular carrier partner44
service_typeenumOptionalThe order type for which serviceability needs to be determined. Enter FORWARD if the shipments need to be delivered to the customer from the enterprise's warehouse. Enter RVP if the shipment needs to picked up from the customer’s location and delivered to the enterprise’s warehouse7FORWARD

Response

meta [meta parameters]

Field NameData TypeDescriptionExample
successBooleanIndicates the success of the API requesttrue
messageStringThe message from cCickpost. In case of success, it will be "SUCCESS". In case there are no carrier partners that are servicing the pincodes it will be”Pin code not serviceable""SUCCESS"
statusHTTP CodeThe HTTP response status code of the API request200

result [result parameters]

Field NameData TypeDescriptionExample
cp_idnumCarrier Partner ID. This can be found on the dashboard or you can refer it to here4
service_typeStringThe order type for which serviceability needs to be determined.
Forward if the shipments need to be delivered to the customer from the enterprises warehouse. RVP if the shipment needs to picked up from the customer’s location and delivered to the enterprise’s warehouse
FORWARD
account_codenumThe account code configured for a particular carrier partner on the Clickpost dashboardBluedart Surface
account_idnumThe identifier for the particular carrier account1938

serviceable [serviceable parameters]

Field NameData TypeDescriptionExample
CODBooleanField indicates whether Cash on Delivery is supported by the particular carrier to the particular pincodetrue
PREPAIDBooleanField indicates whether Prepaid is supported by the particular carrier to the particular pincodetrue
EXCHANGEBooleanField indicates whether Exchange is supported by the particular carrier to the particular pincodetrue

comitted_sla [comitted_sla parameters]

Field NameData TypeDescriptionExample
comitted_slanumThe committed Service Level Agreement that is given the corresponding carrier partner in days3

shipping_charge [shipping_charge parameters]

Field NameData TypeDescriptionExample
PREPAIDfloatShipping Charges in INR for Prepaid type shipments for the corresponding pincodes50.50
CODfloatShipping Charges in INR for Cash on Delivery type shipments for the corresponding pincodes50.50

zone [zone parameters]

Field NameData TypeDescriptionExample
zonestringThe zone which has been mapped with pincodes on the Clickpost dashboard under the carrier integration section"North"

📘

Enterprise will be able to get the shipping_charge and zone where pricing has been configured on a carrier level

Home > Settings > Carrier > Integrations > Accounts > Configuration > Pricing