Creating redeem option (percentage coupon)
POST {{api-url}}/reward-points/public/customer/redeemOptions
Sets up a reward points redemption option that contains instructions for transforming these points into a coupon. Customers are required to choose this option to convert the reward points and create a coupon based on the pre-established rules. Only merchants have the authority to configure these redemption options.
Required scopes
* rewardspoints.rewardpoints_manage
Request Body
{"type"=>"coupon", "name"=>"10 percentage", "description"=>"For 90 points you can have a voucher for - 10 percent discount. You can also pass this voucher on to friends and acquaintances.", "points"=>90, "coupon"=>{"name"=>"10 percentage (redeemed reward points)", "description"=>"10 percentage", "discountType"=>"PERCENT", "discountPercentage"=>10, "allowAnonymous"=>true, "maxRedemptions"=>1, "status"=>"VALID"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |