What is the Widgets API?
The Widgets API allows developers to create units of content and programmatically place them on specific pages of a BigCommerce storefront. The content can consist of HTML, CSS, and JavaScript, and is configurable using Handlebars variables. The Widgets API supports various content types, such as YouTube videos, image sliders, and chat apps.
What can you do with the Widgets API?
The Widgets API allows developers to programmatically inject custom content via HTML, JS, and CSS into Stencil templates, enabling them to build apps that enhance ecommerce experiences on BigCommerce storefronts.
The Widgets API lays the groundwork for future tools that will give merchants more control over their storefronts than ever before, without editing code, even opening the door to creating new workflows to manage and publish content in BigCommerce stores.
As a developer, the Widgets API opens the door to building all kinds of creative and exciting solutions for BigCommerce merchants.
In the Developer Blog article linked below, learn how the Widgets API is a foundational step towards providing native visual content merchandising capabilities in BigCommerce.
When bringing a product to market, you have a decision to make. You can build and launch the product, get it into the hands of your users, and then later surface an API to allow the ecosystem to extend it. Or, you can take the API-first approach.