This table describes the REST calls made from the ProductViewModel and provides details on the context objects that are used to locate a response filter for each type of REST call the view model makes.

Context Object

Description

{endpoint:"getAllPrices"}

This context object is used for calls made to the getAllPrices endpoint. The ProductViewModel makes this call to get the prices for a product when a shopper moves to product page.

{endpoint:"getStockStatus",
identifier:"productStockStatus"}

This context object is used for calls made to the getStockStatus endpoint. The ProductViewModel makes this call to get stock information for the product when a shopper moves to product page. The view model also makes this call to get stock information for the gift choices a shopper can choose when she is presented with a gift-with-purchase promotion that allows her to choose her own gift.


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices