Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Inventory /UpdateCountries

Allows 150 calls per minute

Response: Void



Use this call to udpate countries

Parameters

NameTypeDescription
countriesIEnumerable<Country>Countries to udpate

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Inventory/UpdateCountries

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

countries=[
  {
    "CountryId": "dfd15fbe-c8f4-433d-81ac-e60e59a7feac",
    "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": "e1fb2791-c759-4e6c-819b-7f09ca12598c",
        "ReplaceWith": 0,
        "IsHomeRegion": true,
        "TagsCount": 6
      }
    ],
    "RegionsCount": 8
  }
]

Response

This is an example of the response JSON. Results will vary depending on your data.