Home > @vsf-enterprise/sap-commerce-webservices-sdk > StoresApi > getStoresByCountry
StoresApi.getStoresByCountry() method
Lists all store locations that are in the specified country. Get a list of store locations for a given country
Signature:
getStoresByCountry(baseSiteId: string, countryIso: string, fields?: string, options?: any): Promise<import("axios").AxiosResponse<PointOfServiceList>>;
Parameters
Parameter | Type | Description |
---|---|---|
baseSiteId | string | Base site identifier |
countryIso | string | Country ISO code |
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<PointOfServiceList>>
Exceptions
{RequiredError} StoresApi