listEarningRules( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

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
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListEarningRulesOptions
Returns
Return Type:Promise<ListEarningRulesResponse>
Did this help?