Examples
Example: Display Related Items on Recommendations
Display related items on recommendations for a specific product/sku.
Requirements:
- Tweakwise Request:
/recommendations?tn_edc_parameters=sku=15611001
-
With querystring:
?sku=15611001 -
Response:
[ "1000112", "1000116", "1000118" ]
In this example, the recommendation will display products "1000112", "1000116", "1000118" on the tiles that contain the External Data Component.
Example: Boost Recently Purchased Items in Lister Page
Boost recently purchased products in the listerpage for easier recurring purchases.
Requirements:
- Tweakwise Request:
/navigation?tn_edc_parameters=user=12001
-
API:
POSThttps://api.yourstore.dev/tweakwise/recentlypurchased -
With body:
{ "extraParameters": { "user": "12001" } } -
Response:
[ "1000112", "1000116", "1000118" ] -
Boost configured with EDC component.
In this example, the listerpage will boost products "1000112", "1000116", "1000118" with the desired boost.
Updated about 1 hour ago
Did this page help you?
