Estimate Shipping
Request Parameters:
URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/EstimateShipping
Parameter:
{
"apiSecretKey":"k117x118z122r116t100e100r118j122",
"storeId": "1",
"customerId": "1",
"currencyId":"1",
"shippingModel":
{
"CountryId": "2",
"StateProvinceId": "0",
"ZipPostalCode":"10021"
}
}
Response:
{
"EstimateShippingResult":
{
"Id": 0,
"Message": null,
"CountryId": 2,
"Enabled": false,
"ShippingOptions":
[
{
"Description": "Compared to other shipping methods, ground shipping is carried out closer to the earth",
"Name": "Ground",
"Price": "$0.00"
},
{
"Description": "The one day air shipping",
"Name": "Next Day Air",
"Price": "$0.00"
},
{
"Description": "The two day air shipping",
"Name": "2nd Day Air",
"Price": "$0.00"
}
],
"StateProvinceId": 40,
"Warnings":
[
],
"ZipPostalCode": "10021"
}
}