Delete a coupon
Delete a coupon
Authorizations
API Key authentication. Use "Bearer YOUR_API_KEY".
Path Parameters
The id identifier.
Response
Delete a coupon
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
coupon The fixed amount that will be taken off the subtotal of any invoices for this customer.
Details on what the coupon can be applied to.
Three-letter ISO currency code, in lowercase. Must be a supported currency.
Describes how long a customer who applies this coupon will get the discount.
If duration is repeating, the number of months the coupon applies. Null if coupon does not have a duration in months.
Maximum number of times this coupon can be redeemed, in total, before it is no longer valid.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Name of the coupon displayed to customers on, for instance, invoices or receipts.
Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.
Date after which the coupon can no longer be redeemed.
Whether the coupon is currently valid and can still be redeemed.
The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.
Number of times this coupon has been applied to a customer.