DELETE

Delete Discount Rule


Deletes a discount rule.

Authentication

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

Permissions
Manage eCommerce - all permissions
Manage Stores - all permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/ecom/v1/discount-rules/{discountRuleId}

Path Params
discountRuleIdstringRequired

ID of the discount rule to delete.

Response Object
Returns an empty object.
Delete Discount Rule Example 1
Request
cURL
curl -X DELETE \ 'https://www.wixapis.com/ecom/v1/discount-rules/delete/c31f8d152077bab24065f01c0e3152b746c54ce0' \ -H 'Authorization: <AUTH>'
Response
JSON
{}
Errors

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

Event TriggersThis method triggers the following events:
Did this help?