Skip to content

The Upsell entity at YouCan.

Attribute NameTypeDescription
idstringIdentifier (UUID)
namestringName
descriptionstring, nullDescription
product_iduuidProduct id concerned by this upsell
product_offer_idsarrayArray of product ids the upsell will display
actionsarray of objects [Action]Yes, No buttons with their setting
footerstring, nullText displayed in bottom for upsell
weightint, (default: 1)The weight
activeint, (default: 0)Status of upsell 0: Inactive, 1: Active

Action

Yes button (btn_yes)

Param NameParam TypeDescriptionRequired
titlestringButton titleyes
sizestringButton size small/largeyes
bg_colorstringButton background coloryes
font_sizestringFont size of textyes
font_colorstringFont color of textyes

No button (btn_no)

Param NameParam TypeDescriptionRequired
titlestringButton titleyes
sizestringButton size small/largeyes
bg_colorstringButton background coloryes
font_sizestringFont size of textyes
font_colorstringFont color of textyes