# Updating subscriptions

You can update the following parameters associated with a subscription:

* Platform Fee (%)
* Plan Name&#x20;
* Price
* Interval (day, week, month, year)

There are 3 steps involved in updating a subscription:

1. Creating the subscription and saving the relevant data
2. Creating a new 'Price' object in Stripe
3. Updating the subscription

{% hint style="info" %}
You can see examples of these steps in [this page](https://stripeconnectmarketplace.bubbleapps.io/version-test/updating-subscriptions) of our demo app
{% endhint %}

### Creating a subscription and saving the relevant data

You can learn how to create a new marketplace subscription in [this section]() of the documentation. However, you will need to ensure you save down the following data if you plan to later update the subscription:

* [Stripe Subscription ID](https://docs.stripe.com/api/subscriptions/object) - can be retrieved with the 'Stripe Connect - Retrieve Checkout Session' call that comes with the plugin
* [Stripe Subscription **Item** ID](https://docs.stripe.com/api/subscription_items/object) - can be retrieved with the 'Stripe Connect - Retrieve a Subscription' call that comes with the plugin. See step 2 of [this workflow](https://bubble.io/page?id=stripeconnectmarketplace\&tab=Workflow\&name=updating-subscriptions\&type=page) for an example.

### Creating a new price object in Stripe

In order to update the price, plan name and interval associated with a subscription, you will first need to create a new 'price'. You can do this manually via your Stripe dashboard, or use the 'Stripe Connect - Create Price' action that comes with the Stripe Connect - Marketplace plugin.

<div align="left"><figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2FpcZVWeraKc06jiz54VPU%2FScreenshot%202025-01-27%20at%2014.20.52.png?alt=media&#x26;token=77c93349-402d-47a4-a3b3-47caa33f1559" alt="" width="563"><figcaption></figcaption></figure></div>



You can see the workflow associated with the 'Create Price Object' button in the [demo app](https://stripeconnectmarketplace.bubbleapps.io/version-test/updating-subscriptions) for an example of how to use this action.

### Updating the Subscription

You can use the 'Stripe Connect - Update Subscription' action to update a subscription. Please note that while the price, plan name and interval parameters are updated via the **price object**, you can update the % your platform takes from each subscription payment via the 'Stripe Connect - Update Subscription' action:&#x20;

<div align="left"><figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2FZMQ143m5Z7kQ46qeN95u%2FScreenshot%202025-01-27%20at%2014.21.54.png?alt=media&#x26;token=07f6aa08-3df5-4b79-abff-d5c025cf6847" alt="" width="563"><figcaption></figcaption></figure></div>

You can see the workflow associated with the 'Update Subscription' button in the [demo app](https://stripeconnectmarketplace.bubbleapps.io/version-test/updating-subscriptions) for an example of how to use this action.
