Get Country
Authentication
Query parameters
Determines whether you are searching by a country’s name (0) or its two-letter ISO code (1).
The country’s name or its two-letter ISO code, depending on the specified searchType.
Determines whether you are searching by a country’s name (0) or its two-letter ISO code (1).
The country’s name or its two-letter ISO code, depending on the specified searchType.
Retrieves country information based on the country name or two-letter code entered in the parameters. The response can be used to provide a valid country name or code in Company addresses.
Use the searchType parameter to specify whether you are searching by a country’s name or its two-letter ISO code, and then add the appropriate value for the country to the q parameter. This endpoint only accepts country name values in English, but you can set the searchBy paramteter to 1 to retrieve country information with the standard ISO code instead.
For example requests and more information about authenticating BigCommerce APIs, see Authentication and Example Requests.
For more about BigCommerce OAuth scopes, see our Guide to API Accounts.
For a list of API status codes, see API Status Codes.