If you would like to get a raw Response object use the other getStores function.
An object containing the options for this method.
A promise of type StoreResult.
An object containing the options for this method.
Set to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type StoreResult otherwise.
distanceUnit input parameter.To verify site latitude and longitude information in Business Manager:
If you would like to get a raw Response object use the other searchStores function.
An object containing the options for this method.
A promise of type Stores.
distanceUnit input parameter.To verify site latitude and longitude information in Business Manager:
An object containing the options for this method.
Set to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type Stores otherwise.
Generated using TypeDoc
Shopper Stores
*Download API specification
API Overview
Use this API to access stores via search or ID lookup.
Authentication & Authorization
The Shopper Stores API requires a shopper access token from the Shopper Login and API Access Service (SLAS).
You must include
sfcc.shopper-storesand other relevant scope(s) in the client ID used to generate the SLAS token. For a full list of permissions, see Authorization Scopes Catalog.For details on how to request a shopper access token from SLAS, see the guest user flows for public clients and private clients in the SLAS guides.
Use Cases
Store Retrieval
Location-Based Search
Search Optimization
Simple example:
API Version: 0.0.33import { ShopperStores } from "commerce-sdk-isomorphic"; const clientConfig = { parameters: { clientId: "XXXXXX", organizationId: "XXXX", shortCode: "XXX", siteId: "XX" } }; const shopperStoresClient = new ShopperStores(clientConfig);Last Updated: