v1
latestOpenAPI 3.0.02026-07-22122745.8 KBRecommendations
Get widget recommendations
Retrieves personalized recommendations for a specific widget
post/api/widget/{widget_id}
Path parameters
widget_idstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000
Unique identifier for the widget
Request body
Example request
{
"session_id": "b2b89619844f4eb0b5fa19f28a19d679",
"user_id": "8c80694b-354c-4533-acd1-e4b8e7d74b7b",
"current_url": "https://shop.example.com/products/wireless-headphones-pro",
"language": "en",
"price_name": "EUR",
"hashid": "de8f052ea612f95b6950d4013dd6ef38",
"cart_items": [
{
"dfid": "123e4567e89b12d3a456426614174000@product@e7b7a6c35b2d4afc94991bfc8100227a"
}
]
}Response
Successful response with recommendations
Example response
{
"title": "Our recommendations",
"currency": {
"code": "EUR",
"label": "Euro",
"format": "%v %s",
"symbol": "€",
"precision": 2,
"decimal": ",",
"thousand": "."
},
"fallback_action": "disabled"
}