v1

latestOpenAPI 3.1.02026-07-14124211.1 MB
Custom Discounts

Create Custom Discount

Creates a new custom discount.

post/custom-discounts

Request body

user_idinteger required

User ID.

category_id1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 22 | 24 | 28 | 30 | 31 required

Accounts category.

discount_percentnumber required

Discount percent to apply.

min_pricenumber required

Minimum accounts price for which the discount applies.

max_pricenumber

Maximum accounts price for which the discount applies.

currency'rub' | 'uah' | 'kzt' | 'byn' | 'usd' | 'eur' | 'gbp' | 'cny' | 'try' | 'jpy' | 'brl'

Response

Successful Response.

totalinteger required