Pincode Carrier Serviceability

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

Important Links

Run in Postman API Reference

Payload Example

[{
    "optional": {
        "length": 10,
        "breadth": 10,
        "height": 10,
        "invoice_value": 999,
        "weight": 10,
        "service_type": "FORWARD"
    },
    "drop_pincode": "380001",
    "pickup_pincode": "380015"
}]
[
{
    "drop_pincode": "380001",
    "pickup_pincode": "380015"
}
]

Request Payload

Mandatory Field

Field NameData TypeFieldDescription
drop_pincodenumMandatoryThe drop pincode for which the serviceability needs to be ascertained
pickup_pincodenumMandatoryThe pickup pincode for which the serviceability needs to be ascertained

optional [optional parameters]

Field NameData TypeFieldDescription
lengthfloatOptionalThe length of the shipment in centimeter. This field becomes mandatory if enterprise wants to calculate shipping_charge
breadthfloatOptionalThe breadth of the shipment in centimeter. This field becomes mandatory if enterprise wants to calculate shipping_charge
height floatOptionalThe height of the shipment in centimeter. This field becomes mandatory if enterprise wants to calculate shipping_charge
invoice_valuefloatOptionalThe invoice value of the shipment in INR.
weightfloatOptionalThe weight of the shipment in kilograms. This field becomes mandatory if enterprise wants to calculate shipping_charge
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 partner
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 warehouse

Response

meta [meta parameters]

Field NameData TypeDescriptionExample
successBooleanIndicates the success of the API requesttrue
messageStringThe message from Clickpost. 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_codenumCourier partner account name configured 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 (Pricing)"North"
Language
Click Try It! to start a request and see the response here!