Introduction
The Discounts module lets you read discounts, validate coupons and check the user's bonus balance.
getAllDiscounts
Get all discounts.
getDiscountByMarker
Get a single discount by its marker.
validateDiscountsCoupon
Validate a discount coupon code.
getBonusBalance
Get the current user's bonus balance. 🔐 This method requires authorization.
getBonusHistory
Get the current user's bonus transaction history. 🔐 This method requires authorization.
getDiscountsByVectorSearch
Search discounts by meaning (semantic vector search).