---
title: "Return a list of Countries or a specific country object."
method: GET
path: "/Ams/{ClientID}/Countries"
tags: ["Ams"]
---

# Return a list of Countries or a specific country object.

`GET /Ams/{ClientID}/Countries`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ams/{ClientID}/Countries`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ams/:ClientID/Countries/get.ts> (a function with typed inputs; its response is checked against the schema)

Use any of the query arguments to narrow the results.

## Path parameters

- `ClientID` integer, required

## Query parameters

- `countryId` string
- `countryCode` string
- `UsingRedis` boolean
- `AppInitTime` string, date-time
- `ServerID` string
- `ResponseStatus` string
- `BypassCache` boolean
- `DateCached` string, date-time
- `Device` string

## Response `200`

Success

- CountriesResponse: CountriesResponse
  - `defaultCountry` Country: Country
    - `countryId` string
    - `countryCode` string
    - `countryName` string
    - `numberOfLocations` integer
    - `taxShipping` boolean
    - `taxDues` boolean
    - `locationLabel` string
  - `countryList` Country[]
    - `countryId` string
    - `countryCode` string
    - `countryName` string
    - `numberOfLocations` integer
    - `taxShipping` boolean
    - `taxDues` boolean
    - `locationLabel` string
  - `countryId` string
  - `countryCode` string
  - `UsingRedis` boolean
  - `AppInitTime` string, date-time
  - `ServerID` string
  - `ClientID` integer
  - `ResponseStatus` ResponseStatus: ResponseStatus
    - `ErrorCode` string
    - `Message` string
    - `StackTrace` string
    - `Errors` ResponseError[]
      - `ErrorCode` string
      - `FieldName` string
      - `Message` string
      - `Meta` DictionaryStringString: Dictionary<String,String>
    - `Meta` DictionaryStringString: Dictionary<String,String>
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
