API Reference

Updates a plans information/options

Log in to see full request history
Path Params
string
required

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

Body Params
int32

The amount of stock left in the Plan

boolean

Whether or not the Plan offers unlimited stock

string

The level of visibility of the Plan

boolean

Marks whether customers can purchase multiple quantity of the Plan.

boolean

Deprecated. Please use accepted_payment_methods instead.

boolean

Whether or not Coinbase Commerce payments are accepted.

int32

The interval at which the Plan charges (expiration plans).

int32

The time period (in days) after a Membership expires where the customer can still top-up.

float

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

string

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

boolean

Marks whether or not a Plan can be purchased multiple times by a user. Used most likely for free trial plans. Default is false

pegged_currencies
array of strings

An array of currencies that will be pegged to the base currency

pegged_currencies
boolean

Marks whether an expiration Plan can/can't be topped-up.

string
int32

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

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

boolean

Marks whether paypal payments are/aren't accepted.

Headers
string
required

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 ***************************

Response

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json