Home > @vsf-enterprise/sap-commerce-webservices-sdk > StoresApi > getStoreLocation

StoresApi.getStoreLocation() method

Returns store location based on its unique name. Get a store location

Signature:

getStoreLocation(baseSiteId: string, storeId: string, fields?: string, options?: any): Promise<import("axios").AxiosResponse<PointOfService>>;

Parameters

Parameter Type Description
baseSiteId string Base site identifier
storeId string Store identifier (currently store name)
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<PointOfService>>

Exceptions

{RequiredError} StoresApi