Recommended Products
Display recommended products to your visitors using this api endpoint.
// Example call (POST)
https://api.zubi.ai/r/product/data?_token=[TRACKER KEY]&pid=[PID]&
tid=[BLOCK ID]
post
https://api.zubi.ai/r/product/data
Parameters
Path
_token*
Your tracker key
uid
The user id of the visitor
tid*
The block id to use
product_details
Set to true to include product details
Responses
200: OK
// Example call (POST)
https://api.zubi.ai/r/product/data?_token=[TRACKER KEY]&pid=[PID]&
tid=[BLOCK ID]
The
pid
is a comma separated string holding product ids for which Engage should return a product recommendation. The pid
usually holds the product currently being viewed by the customer, followed by the current items the customer have in their cart.// Example
pid=12345 or pid=12345,67890,13579
The
uid
is the user id Engage assign to a visitor. It is stored in a cookie called -zl_udi
, extract it and include it in the call (optional).The
tid
is the recommendation block id used to define the settings of the recommendation. The tid
is required if the mid
is not set.Last modified 1mo ago