PATCH

Update Discount


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.

Authentication

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

Permissions
Manage Restaurant Catalogs
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/restaurants/v3/catalogs/{catalogId}/discounts/{discount.id}

Path Params
discount.idstringRequired

Discount ID.


catalogIdstringRequired

ID of the catalog the discount belongs to.

Body Params
discountDiscount

Discount to update.

Response Object
discountDiscount

Updated discount.

Update Discount
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?