POST Logistics/AddShippingPrice
Adds a ShippingPrice.
Request Information
URI Parameters
None.
Body Parameters
AddShippingPriceBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| MeansID | integer |
None. |
|
| ZoneID |
The zone this price applies to |
integer |
None. |
| BaseValue |
The base top value used to match a price with the order. Excluding taxes //tbd |
decimal number |
None. |
| TariffID |
The Tariff this price applies to |
integer |
None. |
| Amount |
The price to ship freight to this zone. Excluding taxes //tbd |
decimal number |
None. |
| BusinessID |
The Business this price applies to |
integer |
None. |
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"MeansID": 1,
"ZoneID": 2,
"BaseValue": 3.0,
"TariffID": 1,
"Amount": 4.0,
"BusinessID": 1,
"Lang": "sample string 5",
"StoreID": 6
}
application/xml, text/xml
Sample:
<AddShippingPriceBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Logistics"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 5</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">6</StoreID> <Amount>4</Amount> <BaseValue>3</BaseValue> <BusinessID>1</BusinessID> <MeansID>1</MeansID> <TariffID>1</TariffID> <ZoneID>2</ZoneID> </AddShippingPriceBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>