List countries
GET
Lists every country Comecero knows, sorted by name, with its currency and what an address form needs (postal code, states). Use it to build country and state pickers.
This needs no token. Every country comes in one response, so there is no paging.
Every country.
application/json- response
Every country, in one page.
object?"list"Always list.
Value in
"list"has_more?booleanAlways false. Every country comes in one response.
total_count?integerThe number of countries.
data?array<>The countries, sorted by name.
curl -X GET 'https://api.comecero.com/api/v1/countries'Example Response
{ "object": "list", "has_more": false, "total_count": 1, "data": [ { "name": "Canada", "code": "CA", "currency_code": "CAD", "currency_code_alternate": null, "default_locale": "en-CA", "is_eu": false, "has_postal_code": true, "requires_state_prov": true, "state_taxes": true, "states": [ { "name": "Alberta", "code": "AB" } ] } ]}