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

StoresApi class

StoresApi - object-oriented interface StoresApi {BaseAPI}

Signature:

export declare class StoresApi extends BaseAPI 

Extends: BaseAPI

Methods

Method Modifiers Description
countStoreLocations(baseSiteId, accuracy, latitude, longitude, query, radius, options) In the response header, the "x-total-count" indicates the number of all store locations that are near the location specified in a query, or based on latitude and longitude. Get a header with the number of store locations.
getLocationCounts(baseSiteId, options) Returns store counts in countries and regions Gets a store location count per country and regions
getStoreLocation(baseSiteId, storeId, fields, options) Returns store location based on its unique name. Get a store location
getStoreLocations(baseSiteId, accuracy, currentPage, fields, latitude, longitude, pageSize, query, radius, sort, options) Lists all store locations that are near the location specified in a query or based on latitude and longitude. Get a list of store locations
getStoresByCountry(baseSiteId, countryIso, fields, options) Lists all store locations that are in the specified country. Get a list of store locations for a given country
getStoresByCountryAndRegion(baseSiteId, countryIso, regionIso, fields, options) Lists all store locations that are in the specified country and region. Get a list of store locations for a given country and region