Ordexs API v1 Get an API key

Geography

List supported countries

GEThttps://api.ordexs.com/v1/countries
Any API key

The countries Ordexs stores can sell in, with their currency and phone rules.

Returns

200 OK · The countries. CountryList

  • objectstringRequired

    always "list"

  • has_morebooleanRequired
  • next_cursorstring or nullRequired

    Pass as cursor to get the next page. null on the last page.

  • dataarray of CountrysRequired
    7 child fields
    • objectstring

      always "country"

    • codestring
    • namestring
    • currencyCurrency
      2 child fields
      • codestringRequired

        ISO 4217 currency code.

      • exponentintegerRequired

        Number of decimals every amount in this currency has (DZD 2, TND 3).

    • phoneobject
      3 child fields
      • calling_codestring
      • national_digitsinteger
      • trunk_prefixstring or null
    • region_labelstring

      What the country calls a region, e.g. "Wilaya".

    • city_labelstring

Errors

Every error has the same shape. This endpoint can answer with: