POST
/
v2
/
plans
/
{mimic_plan_id}
/
create_quick_link

Headers

Authorization
string

Your API key, which can be found on the Whop Business Dashboard. You must prepend your key with the word 'Bearer', which will look like Bearer ***************************

Path Parameters

mimic_plan_id
string
required

The ID of a plan you want to copy the data from, which will look like plan_*************

Query Parameters

expand
enum<string>[]

Whether or not to expand the Product on the returned Plan(s). Pass an array with each object(s) you want to expand, e.g. [product]

Available options:
product

Body

application/json

Create a quick link for a plan

custom_password
string

The password that must be entered to use this plan. It will automatically be appended to the direct_link

internal_notes
string

A nickname for the Plan set by the company and not visible to the customer

metadata
object

A key value pair of metadata. Whatever you put on here will be assigned to any memberships that are created on this plan

The description of the Plan as seen by the customer on the checkout page

requirements
object

A key value pair of requirements. By default, requirements will pull from the mimic_plan. Whichever ones are here will overwrite those

The short link identifier for the Plan.

stock
integer
default:
1

The amount of stock left in the Plan

trial_period_days
integer

The number of free trial days added before a renewal Plan.

Response

201 - application/json

Plan model

accepted_payment_methods
array

An array of payment methods that are accepted for this Plan

access_pass
string

Access Pass has been deprecated for Product. Please use product instead and do not use access_pass.

base_currency
string

The base currency

billing_period
integer

How often a user will get charged for their membership (if it is a renewal plan), in number of days

card_payments
boolean

Deprecated. Please use accepted_payment_methods instead.

created_at
integer

The time at which the Plan was created. Measured in seconds since the Unix epoch.

A URL that targets a customer on this specific Plan

id
string

The ID of the Plan, which will look like plan_*************

initial_price
number

The price to be initially charged when a user first purchases the Plan

internal_notes
string

A nickname for the Plan set by the company and not visible to the customer

metadata
object

A polymorphic object containing information that can be user defined

The description of the Plan as seen by the customer on the checkout page

plan_type
string

Whether the Plan is a renewal or one-time purchase

product
string

The Product this Plan is tied to. By default this will just be the ID of the Product, but you can expand it to get more information about the Product by passing [product] in the expand parameter.

release_method
string

The method the customer will use to gain access to this Plan's Product

release_method_settings
object

Configurable settings on how this Plan is released.

renewal_price
number

The price to be charged for each successive billing period

requirements
object

Represents the different restrictions (if any) in place for purchasing the Plan

stock
integer

The amount of stock left in the Plan

unlimited_stock
boolean

Whether or not the Plan offers unlimited stock

visibility
enum<string>

The level of visibility of the Plan

Available options:
visible,
hidden,
archived,
quick_link