Skip to content

docs: document coupon codes and coupon subscription modify flow#201

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/9d9353d9
Open

docs: document coupon codes and coupon subscription modify flow#201
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/9d9353d9

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new coupon code field, the coupon associations list endpoints, and the coupon action on the subscription modify API.

Changes

  • Rewrote Apply Discount on Subscription to cover three flows: dashboard, subscription_coupons at creation (via coupon_code), and mid-cycle add/remove via POST /subscriptions/{id}/modify/execute with type: "coupon".
  • Added a Coupon Code field section to Create a Coupon with a note about the deprecated coupon_id attach path.
  • Documented optional line-level targeting with price_id, the start_date / end_date overrides, and the new GET /coupons/associations read endpoints.

Context

Shipped in the latest release: coupons gain a unique coupon_code (per tenant + environment), subscription modify supports coupon add/remove with effective windows and line-level targeting, and read-only endpoints for coupon associations are now public.

@mintlify mintlify Bot requested a review from omkar273 June 15, 2026 07:47
@mintlify mintlify Bot mentioned this pull request Jun 15, 2026
@mintlify

mintlify Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
flexprice 🟢 Ready View Preview Jun 15, 2026, 7:50 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants