Recently Viewed
Display recently viewed items to your visitors using this api endpoint.
// Example call (POST)
https://api.zubi.ai/r/product/data?_token=[TRACKER KEY]&uid=[UID]&
cnt=4&mid=default_last_viewed&product_details=true
post
https://api.zubi.ai/r/product/data
Parameters
Path
_token*
Your tracker key
uid*
The user id of the visitor
cnt*
Number of products to return, max 10
mid*
The model 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]&uid=[UID]&
cnt=4&mid=default_last_viewed&product_details=true
The
uid
is stored in a cookie called -zl_udi
, extract it and include it in the call.Last modified 5mo ago