Get all countries and regions information for the store
Get all countries and regions information for the store.
GET /V1/directory/countries
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/directory/countries
Response examples (200)
[
{
"id": "string",
"two_letter_abbreviation": "string",
"three_letter_abbreviation": "string",
"full_name_locale": "string",
"full_name_english": "string",
"available_regions": [
{
"id": "string",
"code": "string",
"name": "string",
"extension_attributes": {}
}
],
"extension_attributes": {}
}
]
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}