GET shipping/countries

Retrieves a list of countries. This does not requires an authorization token. This endpoint can also be used to populate country selection during account registration.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of countries.

Collection of Country
NameDescriptionTypeAdditional information
CountryId

Gets or sets the unique identifier for this country.

integer

None.

Name

Gets or sets the name of the country (e.g. United States, Canada).

string

None.

Iso2

Gets or sets the ISO2 code for this country (e.g. US, CA).

string

None.

Iso3

Gets or sets the ISO3 code for this country (e.g. USA, CAN).

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "countryId": 1,
    "name": "sample string 2",
    "iso2": "sample string 3",
    "iso3": "sample string 4"
  },
  {
    "countryId": 1,
    "name": "sample string 2",
    "iso2": "sample string 3",
    "iso3": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tricycle.Studio.Api.Catalog.Models">
  <Country>
    <CountryId>1</CountryId>
    <Iso2>sample string 3</Iso2>
    <Iso3>sample string 4</Iso3>
    <Name>sample string 2</Name>
  </Country>
  <Country>
    <CountryId>1</CountryId>
    <Iso2>sample string 3</Iso2>
    <Iso3>sample string 4</Iso3>
    <Name>sample string 2</Name>
  </Country>
</ArrayOfCountry>