v1

latestOpenAPI 3.0.02026-08-04380104.3 KB
Discount

Update Discount

Update an existing discount's title, description, expiry date, usage limits, value, or minimum order amount.

put/merchant/discount/{reference}

Path parameters

referencestring required

Unique Discount Reference

Request body

titlestring
minimum_order_amountinteger
descriptionstring

A brief description of the discount and how it can be used.

expiry_datestring

The date when the discount will expire, formatted as YYYY-MM-DD.

maximum_usage_timesinteger

The maximum number of times this discount can be used.

valuenumber

The value of the discount (percentage or fixed amount).

is_auto_appliedboolean

Whether the discount is automatically applied.