POST Logistics/AddShippingZoneLocation

Adds a ShippingZoneLocation.

Request Information

URI Parameters

None.

Body Parameters

AddShippingZoneLocationBinding
NameDescriptionTypeAdditional information
ZoneID

integer

None.

LocationID

The id of this location, e.g. LocalityID, CountryID, PlaceID...

integer

None.

TypeID

The entity type of this location, e.g. LocalityModel, CountryModel...

integer

None.

Excluded

this zone is excluded

boolean

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ZoneID": 1,
  "LocationID": 2,
  "TypeID": 3,
  "Excluded": true,
  "Lang": "sample string 5",
  "StoreID": 6
}

application/xml, text/xml

Sample:
<AddShippingZoneLocationBinding 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>
  <Excluded>true</Excluded>
  <LocationID>2</LocationID>
  <TypeID>3</TypeID>
  <ZoneID>1</ZoneID>
</AddShippingZoneLocationBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>