Locations

Get a list of supported countries and their states

This API fetches a list of supported countries, including their database IDs, ISO codes, and states. The retrieved ISO codes should be used as input values when creating or updating locations.

get/countries

Request

Headers

Authorizationstring required

API key for authentication

Response

Successfully retrieved the list of countries and their states

Example response

{
  "data": {
    "supportedCountries": [
      {
        "databaseId": 13,
        "id": "Q291bnRyeToxMw==",
        "iso": "AU",
        "name": "Australia",
        "states": [
          {
            "countryId": 13,
            "id": "136",
            "iso": "WA",
            "name": "Western Australia"
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.