Duplicate Membership
Duplicate a membership with all its discounts.
Headers
The tenant you are making this request on behalf of
Your api key
Path Parameters
Response
Successful Response
Name of the membership
Price of the membership in cents
Unique identifier for the membership
External system identifier for the membership
Optional description of the membership
Amount of patient credit in cents
Frequency of patient credit
DAILY, WEEKLY, BIWEEKLY, MONTHLY, EVERY_FOUR_WEEKS, EVERY_SIX_WEEKS, EVERY_TEN_WEEKS, EVERY_TWELVE_WEEKS, QUARTERLY, EVERY_FOUR_MONTHS, SEMI_ANNUALLY, YEARLY Days until patient credit expires
Maximum number of renewals (null means unlimited)
Whether the membership auto-renews
Setup fee for the membership in cents
Fee to freeze the membership in cents
Whether to apply credit card surcharge to membership charges
Minimum number of billing cycles required
Billing frequency for the membership
DAILY, WEEKLY, BIWEEKLY, MONTHLY, EVERY_FOUR_WEEKS, EVERY_SIX_WEEKS, EVERY_TEN_WEEKS, EVERY_TWELVE_WEEKS, QUARTERLY, EVERY_FOUR_MONTHS, SEMI_ANNUALLY, YEARLY What the cycle billing creates: PREPAYMENT_DISCOUNT, PATIENT_CREDIT_GRANT, or NONE
PREPAYMENT_DISCOUNT, PATIENT_CREDIT_GRANT, NONE How cycle revenue is recognized: PER_REDEMPTION, STRAIGHT_LINE, CASH, or AS_CONSUMED. Defaults to CASH (whole cycle recognized at billing); other modes are an explicit opt-in.
PER_REDEMPTION, STRAIGHT_LINE, CASH, AS_CONSUMED PER_REDEMPTION only: how many redemptions a typical member makes per cycle, used as the recognition divisor. Leave blank when the redemption limit (quantity) already reflects expected usage; set it when the limit is a high cap (e.g. 100) rather than a typical count.
x > 0Text color for the membership
Whether the membership is archived
Whether this membership is eligible for commissions
Whether this membership is hidden from the patient portal
ID of the rule set for the membership
ID of the form associated with this membership
Form associated with this membership
Bank account (merchant account) that membership deposits go to
How to pick the merchant account at billing time. MEMBERSHIP_ACCOUNT always routes to merchant_account_id. LOCATION_ACCOUNT routes to the sold-at location's merchant account (falling back to merchant_account_id when the location has none).
MEMBERSHIP_ACCOUNT, LOCATION_ACCOUNT Cycle-specific price overrides
Tags assigned to this membership
Discount templates for the membership
Number of active members
Total revenue from this membership, in cents
Basis the total_revenue reflects: ACCRUAL = recognized revenue (earned as benefits are delivered), CASH = billed revenue (collected at cycle billing). Set only on responses that compute total_revenue; null otherwise. Lets the FE label what it shows.
CASH, ACCRUAL 