updateDiscount( )


Deprecation Warning

This method will be deprecated on September 30, 2025.
Replace with updateDiscountRule.

Updates a discount. A discount can belong to a catalog, section, or dish. You can't create a discount that applies to a menu.

Method Declaration
Copy
Method Parameters
identifiersUpdateDiscountIdentifiersRequired

optionsUpdateDiscountOptions
Returns
Return Type:Promise<Discount>
Errors

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

Did this help?