get https://app.ecwid.com/api/v3//countries?lang=en
Headers
Name | Type | Description |
---|---|---|
Authorization | string | oAuth token with mandatory Bearer before it. Example: Bearer e***s0 , where e***s0 should be replaced with your oAuth token. |
Query parameters
Name | Type | Description |
---|---|---|
lang | string | Optional parameter changing language in the response (English if lang is not specified). |
Response
A JSON object with the following fields in an array for every country:
Field | Type | Description |
---|---|---|
code | string | Two-digit country code in ISO 639-1 format |
name | string | Country name in the specified language |