Pincode API (03/02)

This endpoint allows you to check whether the product is deliverable or not

GET https://castleindia.in/emart/public /api/delivery-check?secret=xxxx&pincode=xxxxxx /api/delivery-check

Query Parameters

NameTypeDescription

pincode*

String

Enter the pincode eg : 311001

secret*

String

enter the client secret which obtained from admin panel.

Headers

NameTypeDescription

Accept*

String

application/json

{
    "cityid": 1,
    "cityname": "Bombuflat",
    "stateid": 1,
    "statename": "Andaman and Nicobar Islands",
    "countryid": 101,
    "countryname": "India",
    "msg": "Delivery is available for selected pincode",
    "status": "success"
}

IF response fail

{
  "errors": "Delivery is not available for selected pincode",
  "status": "fail"
}

Last updated