POST

Bulk Create Loyalty Earning Rules


Creates multiple non-automated earning rules.

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/bulk/earning-rules/create

Body Params
earningRulesArray <LoyaltyEarningRule>RequiredminItems 1maxItems 100

Earning rules to create.

Response Object
resultsArray <BulkLoyaltyEarningRuleResult>

Created earning rules.


bulkActionMetadataBulkActionMetadata

Additional metadata for the created earning rules.

Bulk create earning rules
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?