Stores and channels
Retailers can provide online and physical store stock numbers in the catalog imports. For more information, see Stores and channels. IfSTORE is explicitly declared in the channel parameter, then value(s) for the store parameter must be supplied with the relevant store keys. The following example shows a query to the search-page endpoint to include the stock level from both online and physical stores, particularly for stores with the store keys soho and tribeca.
Example
- REST API
- JS Library
Notify
If large scale testing is done to simulate visitor behavior during development and testing, it is recommended to ensure thatnotify=false is applied. For more information, see the query parameters reference.
Example
The following is an example of how to work with thenotify parameter.
- REST API
- JS Library
Templates and custom attributes
By default, Elevate returns the predefined product attributes in the query response. To include custom attributes in the query response, one of two methods can be used:- The first option is to supply a
templateIdparameter, corresponding to the ID of an imported template. All attributes defined in the template will be returned in the query response. - The second option is to supply all requested custom parameters as pipe-separated values in the
presentCustomparameter. Custom attributes on a variant can be requested by prefixing the name withvariant., for examplevariant.grip. Custom typed attributes can be requested by prefixing the name with the type, for examplelength.diameterorvariant.number.package_count.
Example
Below is an example of how to include custom attributes in a query response.- templateId - HTTPS API
- templateId - API Library
- presentCustom - HTTPS API
- presentCustom - API Library
Multiple custom attributes can be requested by specifying them using URL-encoded pipe separators, for example
presentCustom=category%7Cseason.Present prices
Retailers can choose to simultaneously present multiple prices for products on the site, for example member price versus non-member price. To include these custom prices in the query response, they must be specified in thepresentPrices parameter.
Example
The value(s) supplied in thepresentPrices parameter must match price identifiers defined in the catalog import, see Custom prices in the Format specification. Below is an example of how to include custom prices in a query response.
- REST API
- JS Library
Multiple custom prices can be requested by specifying them using URL-encoded pipe separators, for example
presentPrices=VIP%7CNON_VIP.
