Estimate Shipping
Request Parameters:
URL: ../Api/Client/EstimateShipping
Header:
Content-Type:application/json
Required Parameters :
Case-1. Exception parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"storeId": "1",
"currencyId":"",
"CountryId": "",
"StateProvinceId": "",
"ZipPostalCode":"10021"
}
Response :
{
"Status": 0,
"Message": "Request cannot be empty",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"storeId": "1",
"currencyId":"1",
"CountryId": "1",
"StateProvinceId": "2",
"ZipPostalCode":"10021"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"Enabled": false,
"ShippingOptions": [
{
"Name": "Ground",
"Description": "Shipping by land transport",
"Price": "$0.00"
},
{
"Name": "Next Day Air",
"Description": "The one day air shipping",
"Price": "$0.00"
},
{
"Name": "2nd Day Air",
"Description": "The two day air shipping",
"Price": "$0.00"
},
{
"Name": "Pickup",
"Description": "Pick up your items at the store",
"Price": "$1.99"
}
],
"Warnings": [],
"CountryId": 1,
"StateProvinceId": 2,
"ZipPostalCode": "10021",
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",
"Message": null
},
"ValidationMessage": [],
"ErrorMessage": null
}