This async method creates an activity in Smile for an action that the currently logged-in customer has performed. Smile will asynchronously issue a reward for the activity based on the ways to earn configured in the Smile account. Before creating an activity, a custom activity type must be first defined in the Smile Admin.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
Returns
This method returns aPromise that:
- On success, resolves with an activity object.
- On failure, rejects with an error object.
Promise will be rejected.