Countries
Use these methods to obtain information about the available countries.
GET[host]/api/v2/my/countries |
|
GET[host]/api/v2/my/countries/{countryId} |
Get a list of countries
Use this method to obtain a list of available countries.
Request
Header parameters:
Authorization: Bearer <access_token>
GET[host]/api/v2/my/countries
curl --location --request GET 'https://host.name/api/v2/my/countries?limit=10&offset=0' \
--header 'Authorization: Bearer <token>'
Response
A response includes an array of Country objects providing information about the available countries.
Get country details
Use this method to obtain detailed information about a specified country.
Request
Header parameters:
Authorization: Bearer <access_token>
Path parameters:
- countryId required
The country identifier.
GET[host]/api/v2/my/countries/{countryId}
curl --location --request GET 'https://host.name/api/v2/my/countries/840' \
--header 'Authorization: Bearer <token>'
Response
A response includes a Country object providing information about the specified country.