Postman collection
General Read

pixiGetCountries

Returns one country or all countries from the Pixi country master data, optionally only countries that are used in addresses.

Reads the country master data from the Countries table.

  • If CntCode is set, only the country with this code is returned.
  • If CntCode is empty or NULL, all countries are returned. An empty string is treated like NULL.
  • If OnlyActive = 1 and no CntCode is given, the list is limited to countries whose code appears in the Country column of at least one record in Addresses.
  • If OnlyActive = 1 and a CntCode is given, the country is returned whether or not it is used in an address.

The result is sorted by CntName. Each row contains the internal country code, the name, the default shipping cost, the date format, the language code, the ISO-2 and ISO-3 codes, VAT settings and the EU flag.

Notes

  • "Active" in OnlyActive does not refer to an active flag in the country data. It only means that the country is used in at least one address in Addresses.
  • The ISO-3 column is returned with the alias CntCodeIsO3 (lowercase s). XML element names are case-sensitive, so clients must read exactly this name.
  • Both tables are read with NOLOCK. The result can contain uncommitted data.
  • The column types are not visible in the code. The SQL types are therefore given as unknown.

Tables used

Countries · Read Addresses · Read
SQL object:
dbo.pipiGetCountries
Updated at 2026-10-30