Home > @vsf-enterprise/sap-commerce-webservices-sdk > CountriesApi > getCountryRegions

CountriesApi.getCountryRegions() method

Lists all regions. Fetch the list of regions for the provided country.

Signature:

getCountryRegions(baseSiteId: string, countyIsoCode: string, fields?: string, options?: any): Promise<import("axios").AxiosResponse<RegionList>>;

Parameters

Parameter Type Description
baseSiteId string Base site identifier
countyIsoCode string An ISO code for a country
fields string Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL
options any Override http request option.

Returns:

Promise<import("axios").AxiosResponse<RegionList>>

Exceptions

{RequiredError} CountriesApi