Coupons
Create a coupon
POST
https://api.piriod.com/coupons/
Creates a new Coupon object.
Request Body
Name | Type | Description |
---|---|---|
amount | number | A positive number representing the amount of the coupon. |
apply_on | string | Can be |
currency | string | Three-letter ISO code for the currency of the coupon. |
discount_scheme | string | Can be |
duration_scheme | string | Can be |
duration_times | number | Determine how many times the coupon should be applied after being added. Works only with |
name | string | A human identifier for the coupon with a 56 characters as max length. This is used to help you to manage coupons in your account. |
valid_until | string | Date that determines until when the coupon can be applied to new subscriptions. |
Last updated