Skip to content

The Upsell entity at YouCan.

Attribute NameTypeDescription
idstringIdentifier (UUID)
namestringUpsell name
descriptionstring, nullDescription shown to the customer
footerstring, nullText displayed at the bottom of the upsell offer
activeboolWhether the upsell is active
weightintDisplay priority — lower weight is shown first (default: 1)
product_offer_idsarrayIDs of the products offered in the upsell
actionsobjectConfiguration for the accept/decline buttons — see Actions
productobjectThe trigger product (available include)
product_offersarrayThe offered products (available include)

Actions

The actions object contains two keys: btn_yes (accept button) and btn_no (decline button).

Attribute NameTypeDescription
titlestringButton label
sizestringButton size — "small" or "large"
bg_colorstringBackground color (hex)
font_sizestringFont size
font_colorstringText color (hex)

Product

The product that triggers this upsell. Use ?include=product to include.

Product Offers

The products offered when the upsell is triggered. Use ?include=product_offers to include.