GET api/Order/GetProviderShippingMethodsOnAddressId?providerID={providerID}&addressID={addressID}&IsAdmin={IsAdmin}&PreferredGroupID={PreferredGroupID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
|
addressID | integer |
Required |
|
IsAdmin | boolean |
Default value is False |
|
PreferredGroupID | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of ShippingMethodsName | Description | Type | Additional information |
---|---|---|---|
CarrierID | integer |
None. |
|
CarrierName | string |
None. |
|
CarrierCode | string |
None. |
|
ShippingZoneID | integer |
None. |
|
ZoneShippingMethodID | integer |
None. |
|
ShowinWeb | boolean |
None. |
|
serviceTypes | Collection of ServiceTypes |
None. |
|
IsLowestPrice | boolean |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "CarrierID": 1, "CarrierName": "sample string 2", "CarrierCode": "sample string 3", "ShippingZoneID": 1, "ZoneShippingMethodID": 1, "ShowinWeb": true, "serviceTypes": [ { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true, "DeliveryTypes": [ { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true }, { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true } ] }, { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true, "DeliveryTypes": [ { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true }, { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true } ] } ], "IsLowestPrice": true }, { "CarrierID": 1, "CarrierName": "sample string 2", "CarrierCode": "sample string 3", "ShippingZoneID": 1, "ZoneShippingMethodID": 1, "ShowinWeb": true, "serviceTypes": [ { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true, "DeliveryTypes": [ { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true }, { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true } ] }, { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true, "DeliveryTypes": [ { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true }, { "ShippingName": "sample string 1", "ShippingCode": "sample string 2", "ShippingServiceTypeID": 1, "Type": "sample string 3", "IsLowestPrice": true } ] } ], "IsLowestPrice": true } ]
application/xml, text/xml
Sample:
<ArrayOfShippingMethods xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Orders"> <ShippingMethods> <CarrierCode>sample string 3</CarrierCode> <CarrierID>1</CarrierID> <CarrierName>sample string 2</CarrierName> <IsLowestPrice>true</IsLowestPrice> <ShippingZoneID>1</ShippingZoneID> <ShowinWeb>true</ShowinWeb> <ZoneShippingMethodID>1</ZoneShippingMethodID> <serviceTypes> <ServiceTypes> <DeliveryTypes> <DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </DeliveryTypes> <DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </DeliveryTypes> </DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </ServiceTypes> <ServiceTypes> <DeliveryTypes> <DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </DeliveryTypes> <DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </DeliveryTypes> </DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </ServiceTypes> </serviceTypes> </ShippingMethods> <ShippingMethods> <CarrierCode>sample string 3</CarrierCode> <CarrierID>1</CarrierID> <CarrierName>sample string 2</CarrierName> <IsLowestPrice>true</IsLowestPrice> <ShippingZoneID>1</ShippingZoneID> <ShowinWeb>true</ShowinWeb> <ZoneShippingMethodID>1</ZoneShippingMethodID> <serviceTypes> <ServiceTypes> <DeliveryTypes> <DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </DeliveryTypes> <DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </DeliveryTypes> </DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </ServiceTypes> <ServiceTypes> <DeliveryTypes> <DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </DeliveryTypes> <DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </DeliveryTypes> </DeliveryTypes> <IsLowestPrice>true</IsLowestPrice> <ShippingCode>sample string 2</ShippingCode> <ShippingName>sample string 1</ShippingName> <ShippingServiceTypeID>1</ShippingServiceTypeID> <Type>sample string 3</Type> </ServiceTypes> </serviceTypes> </ShippingMethods> </ArrayOfShippingMethods>