Use this call to udpate countries
Name | Type | Description |
---|---|---|
countries | IEnumerable<Country> | Countries to udpate |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/UpdateCountries
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
countries=[
{
"CountryId": "6453c894-d35a-4b30-9ae3-7891b85fb3e3",
"CountryName": "sample string 2",
"CountryCode": "sample string 3",
"Continent": "sample string 4",
"Currency": "sample string 5",
"CustomsRequired": true,
"TaxRate": 1.1,
"AddressFormat": "sample string 7",
"Regions": [
{
"pkRegionRowId": 1,
"RegionCode": "sample string 2",
"RegionName": "sample string 3",
"TaxRate": 1.1,
"fkCountryId": "44f7bbeb-ed4a-4b94-aedc-ec39cccae7ba",
"ReplaceWith": 0,
"IsHomeRegion": true,
"TagsCount": 6
}
],
"RegionsCount": 8
}
]
This is an example of the response JSON. Results will vary depending on your data.