Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Interface

IAddressManager

Syntax

await AddressManager_addressManager.GetCountryByIsoLetterCode(string countryCode)

Returns

Task<Country>

API

[GET] /api/v1/countries/{code}

Parameters

...

Returns

200 OK - Country

Example

...

Code Block
languagec#
string threeLetterCode = "CAN;

...


string twoLetterCode = "CA";

...



var country1 = await _addressManager.GetCountryByIsoLetterCode(threeLetterCode);

...



var country2 = await _addressManager.GetCountryByIsoLetterCode(twoLetterCode);