Update a Membership
Updates a membership’s metadata
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the Membership, which will look like mem_*************. This can also be the license key
Body
The metadata for the membership.
Response
The time at which the Membership was created. Measured in seconds since the Unix epoch.
The ID of the membership, which will look like mem_*************
The URL for the customer to manage their membership on whop.com.
The ID of the page, which will look like page_*************
The ID of the plan, which will look like plan_*************
The ID of the product, which will look like prod_*************
The quantity purchased
The status of the membership
trialing
, active
, past_due
, completed
, canceled
, expired
, unresolved
Whether or not the membership is valid
The username of the affiliate that referred the customer to this membership, if any.
Whether or not this membership is scheduled to cancel at the end of the renewal period.
The ID of the checkout used to first purchase / generate the membership.
The ID of the company that purchased/owns the membership. (For example, they installed an app). Looks like biz_*************
The time of when the Membership is set to go expired
The license key for the membership
Whether or not the membership was purchased through the whop marketplace.
The metadata for the membership
The UTC timestamp of when the Membership will end
The UTC timestamp of when the Membership will begin
The ID of the user, which will look like user_*************
Was this page helpful?