This endpoint will redeem a customer’s points for a particular redemption option. It will check to ensure the customer is eligible and has enough points for the selected redemption option and then it will deduct the points from their balance, generate the coupon code, and return it in the response.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Delayed Points Deduction
When passing the delay_points_deduction param as true, take the coupon code returned in the reward_text param and pass it via the coupon_code param of the\ Create Orderendpoint.
This will deduct the points associated with that point redemption from the customer upon order creation.
For example, if delay_points_deduction is passed as true and a customer redeems 10 loyalty points for a coupon/discount, those points would only be deducted from the customer's point balance upon creation and processing of the order containing the coupon_code.
The points aren't held in the meantime: the balance is checked at redemption only. If the customer spends the points before using the code, Yotpo tries to delete the unused coupon (on custom platforms, only if a coupon cancellation URL is set). If the code is still used, the points are deducted anyway and the balance can go negative.

