Items Often Bought Together - Recently Viewed Items

Used to return the list of items that are bought together with the recently viewed items of the current customer. This tactic is based on all customers’ purchase behaviour.

Items Often Bought Together Recently Viewed Items Request

GET /1.0/ClientRecom/{websiteId}/BoughtTogetherRecentlyViewed?customerId={CustomerId}

Path Parameters

Name
Type
Description

websiteId

string

Your website ID provided by PA

Query Parameters

Name
Type
Description

customerId

string

This the customer ID you want to query for. It is stored in the Local Storage of your browser. You can retrieve the attribute by entering the following command in the console:

window.patutil.paLocalStorage.configData.c

{
    "payload": ["1234", "5678", "9012"],
    "type": 1,
    "code": 0
}

Last updated