Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Pipelets > Catalog
Pipelet GetLastVisitedProducts
The pipelet returns the set of Products visited in the current session. The set is retrieved from the live click stream recorded in the session. All clicks on a "Product-Show", "Product-ShowInCategory", "Link-Product", or "Link-CategoryProduct" pipeline are interpreted as a product visit. Clicks on different variations of the same master product are merged and treated as one click.
Group:
Catalog
Input Parameters
MaxLength  :  Number (Optional)
The maximum number of visited products to include in the returned list.
Output Parameters
Products  :  Collection  :  (Optional)
The list of last visted products. If no products have been visted, the returned list is empty.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.