v1
latestOpenAPI 3.0.12026-07-14324237.1 KBdiscounts
Update a single discount
Updates a discount entity using JSON merge patch (https://tools.ietf.org/html/rfc7386). This means that only included fields will be changed: null values removes the field on the target entity, and other values updates the field. Conditional updates are supported through the HttpHeaders.IF_MATCH header. If the conditional prerequisite is fullfilled, the discount is updated: otherwise a 412 precondition failed will be returned with an empty body.
put/organizations/{organizationUuid}/discounts/{discountUuid}
Path parameters
organizationUuidstring uuid required
discountUuidstring uuid required
Headers
If-Matchstring
Request body
Response
Discount updated