/api/v1/sales/{id}Update one or more fields on a sale. All body fields are optional.
Requires the Sales:Edit permission.
Path parameters
idstring· uuidrequiredThe sale ID.
Body
namestringUpdate the sale name.
discountPercentagenumberUpdate the discount percentage.
isEnabledbooleanEnable or disable the sale.
startDatestring· date-timeUpdate the start time.
endDatestring· date-timeUpdate the end time.