Loyalty API
TypeOffer1
Represents an offer that a customer can redeem. An offer is a reward obtainable for points.
| Kind | Type |
|---|---|
| Used in | CustomerBalance3, ListOffers1, LoggedOutBalance1 |
Properties
-
idstring requiredUnique ID of the offer in the Bubblehouse system, used with RedeemOffer1 endpoint.
-
typeOfferType requiredA string that identifies a particular kind of offer.
-
titlestring requiredA title of the offer, suitable to be a list item title.
-
descstring optionalLonger description of the offer, if available.
-
pointsinteger required unless zeroNumber of points required to redeem the offer. If an offer does not require points to redeem (e.g. is already redeemed and can be used right away), this field will be 0 or omitted.
-
availableboolean requiredWhether the offer is available for use (via RedeemOffer1).
-
sectionstring requiredSection of the loyalty page that the object is normally displayed in.
-
productProductView2 optionalIf the offer is about a single specific product, describes the product.
-
variantProductVariantView2 optionalIf the offer is about a single specific product variant, describes the variant.
-
image_urlstring optionalURL of the offer's image, if available.
For vendibles, this will be the URL of the vendible's image. The URL is absolute and can be used directly in image tags.
If the vendible has no image configured, this field will be empty or omitted.