API Playground - modify_coupon

modify_coupon


Makes modifications to an existing coupon. The parameters which you don't want to modify should not be passed. (click for full documentation)

coupon_id

Numeric ID of the coupon to be modified. You can get the coupon ID from the results of the list_coupons function.

resource_id

The comma-separated resource IDs for which the coupon can be used. If passed as empty, the coupon will be used with all resources of the site. If you don't want to update the coupon's resources, don't pass this parameter.

holder_email

A new email address of the coupon holder. If you don't want to update the email address, don't pass this parameter.

amount

The new amount of the coupon. Depending on the coupon type, this can be: prepaid amount, number of hours, number of entries or number of days.

language

by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned

api_key

* - Pflichtfeld