Home > @vsf-enterprise/sap-commerce-webservices-sdk > StoresApiFactory

StoresApiFactory variable

StoresApi - factory interface

Signature:

StoresApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    countStoreLocations(baseSiteId: string, accuracy?: number, latitude?: number, longitude?: number, query?: string, radius?: number, options?: any): AxiosPromise<void>;
    getLocationCounts(baseSiteId: string, options?: any): AxiosPromise<StoreCountList>;
    getStoreLocation(baseSiteId: string, storeId: string, fields?: string, options?: any): AxiosPromise<PointOfService>;
    getStoreLocations(baseSiteId: string, accuracy?: number, currentPage?: number, fields?: string, latitude?: number, longitude?: number, pageSize?: number, query?: string, radius?: number, sort?: string, options?: any): AxiosPromise<StoreFinderSearchPage>;
    getStoresByCountry(baseSiteId: string, countryIso: string, fields?: string, options?: any): AxiosPromise<PointOfServiceList>;
    getStoresByCountryAndRegion(baseSiteId: string, countryIso: string, regionIso: string, fields?: string, options?: any): AxiosPromise<PointOfServiceList>;
}