API Documentation
Memberships
Experiences
Checkout Sessions
Companies
Payment Fees
Promo Codes
Plans
Update a Plan
Updates a plans information/options
POST
https://api.whop.com/api
/
v2
/
plans
/
{id}
curl --request POST \
--url https://api.whop.com/api/v2/plans/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"stock": 123,
"unlimited_stock": true,
"visibility": "visible",
"allow_multiple_quantity": true,
"card_payments": true,
"coinbase_commerce_accepted": true,
"expiration_days": 123,
"grace_period_days": 123,
"initial_price": 123,
"payment_link_description": "<string>",
"internal_notes": "<string>",
"one_per_user": true,
"refillable": true,
"short_link": "<string>",
"trial_period_days": 123,
"metadata": {},
"paypal_accepted": true
}'
{
"data": {
"id": "<string>",
"product": "<string>",
"plan_type": "<string>",
"release_method": "<string>",
"visibility": "visible",
"billing_period": 123,
"internal_notes": "<string>",
"payment_link_description": "<string>",
"metadata": {},
"direct_link": "<string>",
"renewal_price": 123,
"initial_price": 123,
"base_currency": "<string>",
"requirements": {},
"release_method_settings": {},
"accepted_payment_methods": [
[
"<any>"
]
],
"stock": 123,
"unlimited_stock": true,
"created_at": 123,
"access_pass": "<string>",
"card_payments": true
}
}
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 the Plan, which will look like plan_*************
Body
application/json
Update a Plan
Response
201 - application/json
Update a Plan
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.whop.com/api/v2/plans/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"stock": 123,
"unlimited_stock": true,
"visibility": "visible",
"allow_multiple_quantity": true,
"card_payments": true,
"coinbase_commerce_accepted": true,
"expiration_days": 123,
"grace_period_days": 123,
"initial_price": 123,
"payment_link_description": "<string>",
"internal_notes": "<string>",
"one_per_user": true,
"refillable": true,
"short_link": "<string>",
"trial_period_days": 123,
"metadata": {},
"paypal_accepted": true
}'
{
"data": {
"id": "<string>",
"product": "<string>",
"plan_type": "<string>",
"release_method": "<string>",
"visibility": "visible",
"billing_period": 123,
"internal_notes": "<string>",
"payment_link_description": "<string>",
"metadata": {},
"direct_link": "<string>",
"renewal_price": 123,
"initial_price": 123,
"base_currency": "<string>",
"requirements": {},
"release_method_settings": {},
"accepted_payment_methods": [
[
"<any>"
]
],
"stock": 123,
"unlimited_stock": true,
"created_at": 123,
"access_pass": "<string>",
"card_payments": true
}
}
Assistant
Responses are generated using AI and may contain mistakes.