GET api/Admin/Territory/{country}
Retrieves a territory by country.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
country | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ITerritoryName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Country | string |
None. |
|
County | string |
None. |
|
State | string |
None. |
|
City | string |
None. |
|
PostalCode | string |
None. |
|
Description | string |
None. |
|
WarehouseID | integer |
None. |
|
HideShippingMethod | boolean |
None. |
Response Formats
application/xml, text/xml
Sample:
<Territory> <ID>0</ID> <Country /> <County /> <State /> <City /> <PostalCode /> <Description /> <WarehouseID /> <HideShippingMethod>False</HideShippingMethod> </Territory>
application/json, text/json
Sample:
{ "ID": 0, "HideShippingMethod": false }