Discounts

Create a discount

Creates a discount with the specified details. On success, the ID of the new discount is returned.

post/discounts

Request body

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

Response

successful operation

string required

Changes