Update coupon
Update the details of an existing coupon.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
Coupon name.
Coupon description.
Date corresponding to the expiration of the coupon.
Number of times the coupon can be used when applied on a subscription.
amount
Amount to apply as a discount on the total amount (excluding taxes) of a subscription. Expressed in the currency's smallest unit.
Currency code. See ISO 4217.
Response
Coupon ID.
Coupon name.
Coupon description.
Date corresponding to the expiration of the coupon.
Number of times the coupon can be used when applied on a subscription.
UTC date time string in the ISO 8601 format.
amount
Amount to apply as a discount on the total amount (excluding taxes) of a subscription. Expressed in the currency's smallest unit.
Currency code. See ISO 4217.