retrieveCountry - Region Module Reference
This documentation provides a reference to the retrieveCountry
method. This belongs to the Region Module.
This method retrieves a country by its 2 character ISO code.
Example
A simple example that retrieves a country by its 2 character ISO code:
To specify relations that should be retrieved:
Parameters
countryId
stringRequiredThe country's ID, which is the 2 character ISO code.
config
FindConfig<RegionCountryDTO>The configurations determining how the country is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a country.
config
FindConfig<RegionCountryDTO>select
or relations
, accept the
attributes or relations associated with a country.Returns
The retrieved country.
Was this section helpful?