GET /V1/directory/countries/:countryId
GET /V1/directory/countries/:countryId is a Magento 2 REST endpoint in the Directory module. Get country and region information for the store. Callable anonymously — no Authorization header required.
Last verified: against Magento 2.4.9.
Returns
Magento\Directory\Api\Data\CountryInformationInterface
Service contract
Magento\Directory\Api\CountryInformationAcquirerInterface::getCountryInfo
Authorization
Anonymous — no Authorization header required.
Path parameters
Example request
Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.
Headers
Path
/V1/directory/countries/{countryId}Related in Directory
Other endpoints shipped by the same module.
/V1/directory/countries
AnonymousGet all countries and regions information for the store.
Directory · Magento\Directory\Api\CountryInformationAcquirerInterface::getCountriesInfo
/V1/directory/currency
AnonymousGet currency information for the store.
Directory · Magento\Directory\Api\CurrencyInformationAcquirerInterface::getCurrencyInfo
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.