Create a quick link
Create a quick link (or release link) for a plan. This will copy over all data from an existing plan and make a new plan with the same data that can be used as a one-time release link. You can change the stock and metadata on the new plan.
Headers
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
The ID of a plan you want to copy the data from, which will look like plan_*************
Query Parameters
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]
product
Body
Create a quick link for a plan
The password that must be entered to use this plan. It will automatically be appended to the direct_link
A nickname for the Plan set by the company and not visible to the customer
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
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.
The amount of stock left in the Plan
The number of free trial days added before a renewal Plan.
Response
Plan model
An array of payment methods that are accepted for this Plan
Access Pass has been deprecated for Product. Please use product instead and do not use access_pass.
The base currency
How often a user will get charged for their membership (if it is a renewal plan), in number of days
Deprecated. Please use accepted_payment_methods
instead.
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
The ID of the Plan, which will look like plan_*************
The price to be initially charged when a user first purchases the Plan
A nickname for the Plan set by the company and not visible to the customer
A polymorphic object containing information that can be user defined
The description of the Plan as seen by the customer on the checkout page
Whether the Plan is a renewal or one-time purchase
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.
The method the customer will use to gain access to this Plan's Product
Configurable settings on how this Plan is released.
The price to be charged for each successive billing period
Represents the different restrictions (if any) in place for purchasing the Plan
The amount of stock left in the Plan
Whether or not the Plan offers unlimited stock
The level of visibility of the Plan
visible
, hidden
, archived
, quick_link
Was this page helpful?