Usage
Parameters
The ID of a flexible reward (one whose
redemptionMode is "flexible"). Get reward IDs from getShopRewards.The amount to spend, in the shop’s loyalty unit (points, or minor currency units in store-credit mode). Must fall within the reward’s
flexibleConfig.minPoints and flexibleConfig.maxPoints.The
id of one of the customer’s subscriptions, from getSubscriptions.Response
How many orders the discount applies to follows the reward’s own settings. If applying fails, the customer’s balance is not charged.