/bubble-tutorials

How to build a multi-vendor marketplace in Bubble

Learn how to build a scalable multi-vendor marketplace in Bubble with step-by-step guidance for setup, workflows, and payments.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web or mobile app? RapidDev builds Bubble apps with your growth in mind.

Book a Free Consultation

How to build a multi-vendor marketplace in Bubble

A multi‑vendor marketplace in Bubble is built by creating three core things: Vendor accounts, Products tied to vendors, and Payments that route money to each vendor (usually through Stripe Connect). In Bubble you manage this using your Data Types, Privacy Rules, Workflows, and the Stripe plugin or API Connector. The structure is simple: vendors create products, customers buy them, and Stripe handles paying vendors while you keep a fee.

 

Core Data Structure

 

You only need a small set of Data Types:

  • User — add fields like is_vendor (yes/no) and stripe_account\_id (text).
  • Product — fields like title (text), price (number), vendor (User).
  • Order — fields like product (Product), buyer (User), payment\_id (text).

The key is the Product.vendor field. Everything depends on linking each product to a vendor User.

 

Vendor Onboarding (Stripe Connect)

 

Use Stripe’s Connect onboarding link. If you use Bubble’s official Stripe plugin, run the action Generate onboarding link. If using API Connector, call Stripe’s /v1/account\_links endpoint.

 

{
  "account": "acct_123", 
  "refresh_url": "https://yourapp.com/refresh",
  "return_url": "https://yourapp.com/return",
  "type": "account_onboarding"
}

 

Save the returned account value into the Vendor’s stripe_account_id.

 

Creating Products

 

On the vendor dashboard, the “Create Product” workflow simply “Create a new Product” and set vendor = Current User. This automatically filters what each vendor sees in their own dashboard via “Search for Products” with constraint vendor = Current User.

 

Checkout

 

Use Stripe’s Checkout Session that supports Connect. Bubble’s Stripe plugin exposes this as “Create checkout session”. Set:

  • Price = Product’s price
  • Stripe Account = Product’s vendor’s stripe_account_id
  • Application Fee = Your commission

This ensures the vendor gets paid automatically.

 

Order Confirmation (Webhook)

 

In Stripe, add a webhook pointing to a Bubble Backend Workflow endpoint. Event you care about is checkout.session.completed. In the backend workflow, create an Order using the data from Stripe.

 

{
  "type": "checkout.session.completed",
  "data": {
    "object": {
      "id": "cs_123", 
      "metadata": { "product_id": "abc" }
    }
  }
}

 

Bubble extracts the metadata and you create the Order.

 

Privacy Rules

 

  • Products: vendor is Current User for editing.
  • Orders: buyer can see their own; vendor can see orders for their products.

This prevents vendors from seeing each other's data.

Explore More Valuable No-Code Resources

How to integrate Bubble.io with Git?

Learn how to seamlessly integrate Bubble.io with Git through our comprehensive step-by-step guide. Perfect for beginners and professionals.

Explore

How to integrate Bubble.io with Reddit Ads?

Learn how to seamlessly integrate Bubble.io with Reddit Ads using our easy step-by-step guide. Boost your ad management today!

Explore

How to integrate Bubble.io with AWS S3?

Explore our step-by-step guide on integrating Bubble.io with AWS S3, making your app development process more efficient and secure.

Explore

How to integrate Bubble.io with Lucidchart?

Follow our step-by-step guide to seamlessly integrate Bubble.io with Lucidchart, enhancing your workflow & productivity.

Explore

How to integrate Bubble.io with Kentico?

Learn how to seamlessly integrate Bubble.io and Kentico with our comprehensive, easy to follow step-by-step guide.

Explore

How to integrate Bubble.io with Box?

Discover easy-to-follow steps for integrating Bubble.io with Box. Boost your workflow and secure your files seamlessly today.

Explore

Stuck in Bubble.io? We’re here to help!

Fix broken workflows | Optimize logic | Boost performance | Scale with confidence

4.9
Clutch rating 🌟
600+
Happy partners
17+
Countries served
190+
Team members

By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.

Cookie preferences