Skip to Content
FluxStore is currently invite-only. Some sections of this documentation are still being written and expanded.
PATCH/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· uuidrequired
The sale ID.

Body

namestring
Update the sale name.
discountPercentagenumber
Update the discount percentage.
isEnabledboolean
Enable or disable the sale.
startDatestring· date-time
Update the start time.
endDatestring· date-time
Update the end time.