...
transactionId
<string>: unique identifier of the loyalty transaction created in UUID format.balances
: object that indicates loyalty balance of the user's accountamount
<number>: this represents the number of loyalty points the user has. If this QR code was pre-selected with rewards, then this number already has those loyalty points temporarily deducted from total user’s loyalty points balance.currency
<string>: this represents the currency the above amount. Normally set to "points".
loyaltyUser
: object that indicates information about this loyalty usercreated
<string>: string that represents that date and time user loyalty account was createdid
<string>: unique identifier of the loyalty user in UUID formatname
<string>: name of the user that was saved upon account creation
order
: an array that includes objects with the below fields for each product that is in the order basket.productId
<string>: PLU of the product that was pre-selected in the app. This can be an offer or a reward.quantity
<number>: the amount of the above product that is in the loyalty order.price
<number>: the price of the productproductType
<string>: the type of product. In this case it would either beREWARD
orOFFER
referenceId
<string>: unique line ID of the productincentiveId
<string> (optional): Sanity ID of the offer or reward if an offer or reward is pre-selected in the app.loyaltyEngineId
<string> (optional): Loyalty Engine ID of the personalized offer if a personalized offer is pre-selected in the app. This field only needs to be sent for personalized offers, but it can be sent for all offers and rewards. Read more about this here: https://rbictg.atlassian.net/wiki/x/iABm-g
eligibleDiscounts
(optional): an array of any offer or rewards discount that were pre-selected by the user in the app.details
<object> (optional): details of the discount included in the basket.displayName
<string> (optional): name of the offer or reward discount included in the basket.discountValue
<integer> (optional): an integer that represents the value of the discount.subType
<string> (optional): the type of the discount. Discount can only bePERCENTAGE_DISCOUNT
orAMOUNT_DISCOUNT
.type
<string> (optional): the type of the benefit of the discount. This can only beoffer
orreward
.
incentiveId
<string> (optional): Sanity ID of the offer or reward discount.productId
<string>: PLU of the discount that was pre-selected in the app. This can be an offer or a reward.referenceId
<string> (optional): Loyalty Engine ID of the offer or reward discount if an offer or reward discount is pre-selected in the app.
...