v1

latestOpenAPI 3.0.32026-07-24614422630.2 KB
Discounts

Update discount details

Updates the details of the specified discount. Note that a discount cannot be updated once it is in use by an order.

put/discounts/{id}

Path parameters

idstring required

id of the discount

Request body

namestring
percentnumber
discountAmountnumber
status'ACTIVE' | 'DEPRECATED'
discountedPricenumber

Response

successful operation