post
https://{subdomain}.recurly.com/v2/coupons
Creates a new coupon. Please note: coupons cannot be updated after being created.
DISCOUNT IN DOLLARS
When specifying a discount amount as a flat amount, the currency must be specified with the amount in an array. For example:
<discount_type>dollars</discount_type>
<discount_in_cents>
<USD>500</USD>
<EUR>400</EUR>
<GBP>300</GBP>
</discount_in_cents>
DISCOUNT IN PERCENTAGE
Percentage discounts only need to specify the discount percentage. For example:
<discount_type>percent</discount_type>
<discount_percent>10</discount_percent>
LIMITING TO SPECIFIC PLANS
If a coupon applies to all plans, it will also apply to any plans created in the future. To limit a coupon to specific plans, you may specify an array of plan codes. For example:
<applies_to_all_plans>false</applies_to_all_plans>
<plan_codes>
<plan_code>silver</plan_code>
<plan_code>gold</plan_code>
</plan_codes>Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…