updateDiscount( )


Developer Preview

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

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

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Restaurant Catalogs
Manage Restaurants - all permissions
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
identifiersUpdateDiscountIdentifiersRequired

optionsUpdateDiscountOptions
Returns
Return Type:Promise<Discount>
Was this helpful?
Yes
No