Update a coupon

Updates the specified coupon.

To perform this action, you must be the account owner, or must be delegated with ROLE_MARKETER, or ROLE_SELLER_ADMIN.

Path Params
string
required

ID of the coupon.

Body Params
string
required

Name of the coupon campaign.

string
required

Algorithm used to calculate the discount. Possible values are percent, absolute.

float
required

Amount of the discount.

float

Amount paid by the customer for this coupon. This may be lower than the amount in case of promotional campaigns.

int32

Limits the number of times the coupon can be used.

bookBySchedule
array of objects

Restriction which ensures that this coupon is only redeemable within the specified schedules.

bookBySchedule
arrivalSchedule
array of objects

Restriction which ensures that this coupon can only be used for orders whose arrival is within the specified schedules.

arrivalSchedule
tags
array of objects

List of tags that should automatically get applied orders that use this coupon.

tags
string

Reported payment method when this voucher is used. Applicable and required for voucher types.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here!