Personalized Home Page
Last updated
Last updated
GET
/1.0/ClientRecom/{websiteId}/Home?customerId={customerId}&items[0]={refId}&items[1]={refId}&filterOutOfStock=false
This is a hybrid tactic meaning if there are no results for the first tactic, the recommender will try the next one. This fall-through will continue through all the tactics until a result is found. Tactic Cascade: Bought With Cart Contents > Viewed With Recently Viewed > Recently Viewed > Historically Viewed (up to 12 products) > Bought With Recently Viewed > Popular Items (over 7 days)
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
websiteId
string
Your website ID provided by PA
filterOutOfStock
boolean
Whether to filter out of stock items
items
array
This takes in an array of Ref IDs in the customer cart (used for Bought with Cart Contents)
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