pointsCost. The reward’s purchase type must be Subscription or Both.
Store-credit shops redeem through redeemFlexibleToSubscription instead.
Usage
Parameters
The ID of a fixed or percentage reward. Get reward IDs from
getShopRewards.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.