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.Smile.pointsProducts.purchase(id, options?)
Promise that:
Promise will be rejected.