This async method exchanges the currently logged-in customer’s points for a specified reward.Documentation Index
Fetch the complete documentation index at: https://dev.smile.io/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
The unique identifier of the points product to be purchased.
Returns
This method returns aPromise that:
- On success, resolves with a points purchase object.
- On failure, rejects with an error object.
Promise will be rejected.