POST

Create Loyalty Earning Rule


Creates a non-automated earning rule.

Note: You can only create non-automated earning rules from a supported list. For the supported list of services, see the introduction.

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.
Endpoint
POST
https://www.wixapis.com/_api/loyalty-earning-rules/v1/earning-rules

Body Params
earningRuleEarningRuleRequired

Earning rule to create.

Response Object
earningRuleEarningRule

Created earning rule.

Create earning rule
Request
cURL
Response
JSON
Errors

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

Did this help?