Redeem a customer's points for a reward
smile_purchase_points_productWRITE — SPENDS THE CUSTOMER'S POINTS: redeem points on the customer's behalf by purchasing a points product; Smile deducts the points and issues the reward (the response's points_purchase.reward_fulfillment usually holds a discount code). Only do this when the customer asked for it. For a 'variable' product pass points_to_spend; leave it out for 'fixed' products. There is no API to cancel a redemption — a mistaken one can only be compensated with smile_create_points_transaction. Requires the points_purchase:write scope. Smile: POST /points_products/{id}/purchase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | Smile customer ID. | |
| points_to_spend | No | Points to spend — variable-price products only. | |
| points_product_id | Yes | Smile points product ID. |