getLoyaltyEarningRule( )


Retrieves a specified non-automated earning rule.

Permissions
Manage Loyalty
Read Loyalty
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the earning rule to retrieve.

Returns
Return Type:Promise<LoyaltyEarningRule>
Errors

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

Did this help?