listEarningRules( )


Retrieves a list of earning rules.

Returns both automated and non-automated earning rules.

You can filter the results by triggerAppId or triggerActivityType.

Permissions
Manage Loyalty
Read Loyalty
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListEarningRulesOptions
Returns
Return Type:Promise<ListEarningRulesResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?