Purchased with Last Purchased
- 07 Feb 2024
- 1 Minute to read
Purchased with Last Purchased
- Updated on 07 Feb 2024
- 1 Minute to read
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
This algorithm is one of Insider's personalized algorithms. It recommends the products that are purchased along with the user’s last purchased product. Purchase events can be collected from Web, Mobile, and Offline (CRM) UCD events. It is available on Web Smart Recommender, API-based Recommender, and App Recommender.
Endpoint
GET https://recommendation.api.useinsider.com/v2/last-purchased-together
Query Parameters
Parameter | Sample Value | Description | Data Type | Required |
---|---|---|---|---|
partnerId | 1000001 | Partner Identifier which is assigned by Insider. | String | Yes |
locale | us_US | Language or region of the site. | String | Yes |
currency | USD | Shows products with the specified currency. | String | Yes |
userId | a1b2c3d4 | User identifier which is assigned by Insider. | String | Yes |
platform | web | Requested platform. Web comes by default. | String | No |
details | true | Adds item details to response. | Boolean | No |
hp | false | Hyper personalization activation. | Boolean | No |
size | 50 | Required number of items in response. Maximum allowed size is 100. | Integer | No |
shuffle | false | Shuffle the products in the response. | Boolean | No |
excludeVariants | true | Exclude variants by the same group id. If the panel setting is true for this feature, the parameter will be always true. Otherwise depends on the parameter. The default value is false. | Boolean | No |
excludePurchaseDay | 30 | Exclude items the user purchased in X day. | Integer | No |
excludeViewDay | 30 | Exclude items the user viewed in X day. | Integer | No |
excludePurchaseItem | 100 | The number of purchased products to exclude. | Integer | No |
excludeViewItem | 100 | The number of viewed products to exclude. | Integer | No |
Fallback Algorithms
The Purchased with Last Purchased Algorithm doesn’t have a fallback algorithm due to its nature. You can always tune it by configuring the minimum number of products to be displayed to show in the recommendation carousel on recommendation settings.
Was this article helpful?