createCustomLoyaltyEarningRule( )


Developer Preview

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

Creates a custom automated earning rule.

Currently, only social media earning rule is supported.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

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

Type of the custom earning rule.


optionsCreateCustomLoyaltyEarningRuleOptions
Returns
Return Type:Promise<CreateCustomLoyaltyEarningRuleResponse>
Did this help?