v1

latestOpenAPI 3.0.32026-07-24614422630.2 KB
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