Swell is a headless, API-first ecommerce platform designed for businesses that need high levels of customization and flexibility. Its main purpose is to give developers and brands the tools to build unique shopping experiences, separate from the constraints of traditional, template-based platforms. The core of Swell is its powerful API, which allows the backend (product management, orders, customers) to be completely separate from the frontend (the website or app the customer sees). This means you can use any modern technology like Next.js, Svelte, or Vue to build your store's interface. Swell was built to handle complex business models, including subscriptions, B2B sales, and marketplaces, making it a scalable solution for growing companies.
Swell offers a range of features focused on flexibility and developer control.
Swell typically offers several pricing tiers to fit different business sizes and needs. The plans are structured to scale with your business growth.
Swell offers a free development plan that allows you to build and test your store without any cost. You can access all the core features, set up your products, and use the API to develop your frontend. This plan is fully functional for development purposes. You only need to upgrade to a paid plan when you are ready to start processing live payments and launch your store to the public. There are no time limits on the free development plan.
Getting started with Swell involves a few key steps, primarily for a developer or a team with technical skills.
Swell connects with various third-party applications to extend its functionality. Integrations are managed through the dashboard or by using the API.
Yes, Swell provides a comprehensive API. In fact, the entire platform is built on it. Developers can use a REST API, a GraphQL API, and a JavaScript SDK to interact with the platform. The API gives you access to all data models, including products, orders, customers, and carts, allowing for full control over the shopping experience.
To get your API keys, you need to sign up for a Swell account. Inside the dashboard, navigate to the Developer section in the settings to find your public and secret keys.
Here is an example of using the Swell JS client in a Next.js application to fetch a product:
import swell from './utils/client.js'
export default function ProductPage({ product }) {
return (
<div>
<h1>{product.name}</h1>
<p>{product.description}</p>
<span>{swell.currency.format(product.price)}</span>
</div>
)
}
export async function getStaticProps({ params }) {
const product = await swell.products.get(params.slug)
return {
props: { product }
}
}
Swell has a Partner Program rather than a traditional affiliate program. This program is designed for agencies, developers, and technology companies that build ecommerce solutions for clients. Partners can receive benefits like revenue sharing, co-marketing opportunities, and dedicated support. To join, you typically need to apply through the 'Partners' section on their website and demonstrate your experience in building ecommerce sites. If you are an influencer or content creator, it is best to contact their marketing or partnerships team directly to discuss potential collaboration opportunities.