Request Parameters:


For selecting shipping address


URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/SelectShippingAddress


Parameter:

{

"apiSecretKey": "k117x118z122r116t100e100r118j122",

"storeId": "1",

"customerId": "1",

"currencyId":"1",

"addressId":"1"

}


Response:


This method will select shipping address and response with shipping methods to select.


   {

       "SelectShippingAddressResult":

       {

           "Id": 0,

           "Message": null,

           "ShippingMethods":

           [

               {

                   "Description": "Compared to other shipping methods, ground shipping is carried out closer to the earth",

                   "Fee": "$0.00",

                   "Name": "Ground",

                   "Selected": true,

                   "ShippingOption":

                   {

                       "Description": "Compared to other shipping methods, ground shipping is carried out closer to the earth",

                       "Name": "Ground",

                       "Rate": 0,

                       "ShippingRateComputationMethodSystemName": "Shipping.FixedOrByWeight"

                   },

                   "ShippingRateComputationMethodSystemName": "Shipping.FixedOrByWeight"

               },

               {

                   "Description": "The one day air shipping",

                   "Fee": "$0.00",

                   "Name": "Next Day Air",

                   "Selected": false,

                   "ShippingOption":

                   {

                       "Description": "The one day air shipping",

                       "Name": "Next Day Air",

                       "Rate": 0,

                       "ShippingRateComputationMethodSystemName": "Shipping.FixedOrByWeight"

                   },

                   "ShippingRateComputationMethodSystemName": "Shipping.FixedOrByWeight"

               },

               {

                   "Description": "The two day air shipping",

                   "Fee": "$0.00",

                   "Name": "2nd Day Air",

                   "Selected": false,

                   "ShippingOption":

                   {

                       "Description": "The two day air shipping",

                       "Name": "2nd Day Air",

                       "Rate": 0,

                       "ShippingRateComputationMethodSystemName": "Shipping.FixedOrByWeight"

                   },

                   "ShippingRateComputationMethodSystemName": "Shipping.FixedOrByWeight"

               }

           ],

           "Warnings": null

       }

   }