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.
You can only call this method when authenticated as a Wix app or Wix user identity.