Get a Page Designer page based on a single page ID. The results will apply the visibility rules for the page's components, such as personalization or scheduled visibility.
Important*: Currently, the Shopper Experience API can’t be used when the storefront password protection feature is enabled.
Important*: Because this resource uses the GET method, you must not pass sensitive data (payment card information, for example) and must not perform any transactional processes within the server-side scripts that are run for the page and components.
If you would like to get a raw Response object use the other getPage function.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
A promise of type Page.
Get a Page Designer page based on a single page ID. The results will apply the visibility rules for the page's components, such as personalization or scheduled visibility.
Important*: Currently, the Shopper Experience API can’t be used when the storefront password protection feature is enabled.
Important*: Because this resource uses the GET method, you must not pass sensitive data (payment card information, for example) and must not perform any transactional processes within the server-side scripts that are run for the page and components.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
Optional
rawResponse: TSet to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type Page otherwise.
Get Page Designer pages. The results will apply the visibility rules for each page's components, such as personalization or scheduled visibility.
Either categoryId
or productId
must be given in addition to aspectTypeId
. Because only a single page-to-product and page-to-category assignment per aspect type can be authored today, the returned result contains one element at most.
Important*: Currently, the Shopper Experience API can’t be used when the storefront password protection feature is enabled.
Important*: Because this resource uses the GET method, you must not pass sensitive data (payment card information, for example) and must not perform any transactional processes within the server-side scripts that are run for the page and components.
If you would like to get a raw Response object use the other getPages function.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
A promise of type PageResult.
Get Page Designer pages. The results will apply the visibility rules for each page's components, such as personalization or scheduled visibility.
Either categoryId
or productId
must be given in addition to aspectTypeId
. Because only a single page-to-product and page-to-category assignment per aspect type can be authored today, the returned result contains one element at most.
Important*: Currently, the Shopper Experience API can’t be used when the storefront password protection feature is enabled.
Important*: Because this resource uses the GET method, you must not pass sensitive data (payment card information, for example) and must not perform any transactional processes within the server-side scripts that are run for the page and components.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
Optional
rawResponse: TSet to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type PageResult otherwise.
Static
Readonly
default
Shopper Experience
**
Simple example:
API Version: 1.0.4Last Updated: