Skip to main content
Unique coupons and personal deadlines work on every plan, Free included: their writes never answer 403, and reads, deletes and CSV exports are never gated.

Unique coupons

Turn a discount into a unique-per-recipient discount:
code becomes the prefix of each one-time code and no longer works by itself. In emails, {{unique_coupon:<discountId>}} issues one code per recipient at send time and {{unique_coupon_url:<discountId>}} links to checkout with it.

At checkout

GET /discounts/apply/{code}/{productId}?email= (public) resolves a one-time code only for its email: Creating a checkout reserves the code (and a personal offer) for that checkout for 30 minutes, so two checkouts opened at once can’t both be paid at the discounted price. The payment consumes it; a declined or abandoned checkout gives it back.

Maximum uses on a regular code

POST /discounts and POST /discounts/{id} take an optional maxRedemptions on a regular (not unique-per-recipient) discount, on every plan. GET /discounts/{id} returns it with used:
  • A whole number from 1 to 1,000,000; null or absent = unlimited. 1 is a one-use code.
  • 400 with uniquePerRecipient: true (each one-time code already works once) or when mainProductIds includes a subscription offer.
  • Counted like the list’s used: the orders placed with the code. An open checkout holds one use for 30 minutes, with the same reserve / consume / give-back rules as one-time codes.
  • At GET /discounts/apply/{code}/{productId} and checkout: 410 DISCOUNT_USED_UP (This code has been used up.) once the uses are spent, 409 DISCOUNT_IN_USE while the last uses are held by other open checkouts (pass reservation to read your own checkout’s hold as yours).

Personal deadlines

offer.type is percentage, fixed or price; fallback.type is full_price, percentage or fixed; trigger.type is audience_joined, lead_magnet (with productId) or automation_entered (with automationId). The personal link (?pf_sid=…) identifies the person on your business. It is the same encrypted visitor token that browse abandonment uses, so one link serves both. Without the server’s signing key, links are plain product links (personalized: false) and personal offers don’t apply. The offer itself is enforced from their server-side clock: after it ends, or once they bought at the offer price, checkout charges the fallback price whatever token they bring.

SDK and MCP

The MCP server exposes list_unique_codes, generate_unique_codes, list_personal_deadlines, create_personal_deadline, get_personal_deadline, update_personal_deadline, delete_personal_deadline, list_personal_deadline_entries, start_personal_deadline and get_personal_deadline_link. The Node.js SDK gains the same operations in its next release.