Personalized PDP
Personalized PDP Recommendations
GET
/1.0/ClientRecom/{websiteId}/ProductDetail?customerId={customerId}&productRef={refId}&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: Viewed With > Bought With > Visually Similar > Viewed With Recently Viewed > Bought With Cart Contents > Recently Viewed > Popular Items (over 7 days)
Path Parameters
Name | Type | Description |
---|---|---|
websiteId | string | Your website ID provided by PA |
Query Parameters
Name | Type | Description |
---|---|---|
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) |
productRef | string | The product refId that you want to query for |
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 |
GET
1.0/ClientRecom/{websiteId}/Cart?customerId={customerId}&items[0]={refId}&items[1]={refId}&filterOutOfStock=false
Query Parameters
Name | Type | Description |
---|---|---|
filterOutOfStock | boolean | Whether |
GET
1.0/ClientRecom/{websiteId}/Cart?customerId={customerId}&items[0]={refId}&items[1]={refId}&filterOutOfStock=false
Query Parameters
Name | Type | Description |
---|---|---|
filterOutOfStock | boolean | Whether |
Last updated