When to use it

You are opening the doors, running a promotion or thanking an audience, and you want one code with clear limits: who it works for, how much it takes off, how many people can use it and when it stops.

Before you start

  • A connected MemberPress site (start here).
  • The plans the code should work on are already created. MemberPress coupons always name their plans; there is no “every plan” setting.
  • A code that isn’t already in use. Your AI checks this for you.

What your AI does

  1. Reads your existing coupons, so it can warn you if LAUNCH20 is taken (memberpress_list_coupons).
  2. Finds the IDs of the Monthly and Annual plans (memberpress_list_memberships).
  3. Prepares the coupon: 20% off, first payment only, valid on those two plans, 100 uses, ending on the last day of the month (memberpress_create_coupon). The first call is a preview. Nothing is saved.
  4. Shows you the preview and waits. MemberPress coupons are live the moment they are saved, so the coupon is created only after your approval in your AI app.

What you get back

Create LAUNCH20: 20% off the first payment on Monthly and Annual, 100 uses, ends this month.

Ready to create on example-studio.example: LAUNCH20, 20% off the first payment only, on Monthly and Annual, up to 100 uses, ending November 30, 2026. After that, renewals bill at the full price. It goes live as soon as I save it. Go ahead?

What it changes

  • One new coupon, created only after you approve it in your AI app. It works at checkout right away.
  • Your AI can change a coupon later, to fix a typo or end it early: its code, discount, plans, use limit or dates. It shows each change as before and after, and saves it only after approval in your AI app. It can’t delete a coupon. To remove one, open MemberPress → Coupons.
  • The call appears in the activity log on your site.

Variations

  • Money off every payment: “Create SAVE5 for $5 off every payment on Monthly, no end date, unlimited uses.”
  • A longer trial instead of a discount: “Create a coupon TRYMONTH that gives a 30-day free trial on Monthly.”
  • Start later: “Create BLACKFRIDAY for 30% off the first payment on Annual, starting November 27 and ending December 1, limited to 200 uses.”
  • Check how it’s doing: “How many times has LAUNCH20 been used so far?”