The commerce platform you can actually program.
Write backend JavaScript that hooks into the whole shopping experience, define your own data, and run background jobs. We host and scale every line of it. Build for your own store or your clients, or sell what you make to every ShopsWired merchant.
Server-side JavaScript, with no infrastructure
ShopScript is ShopsWired's custom synchronous JavaScript runtime. It runs every customization script, from plugin hooks and routes to widgets and scheduled jobs. Export a handler and it runs when the event fires.
// React the moment an order is paid — server-side, no infra.
module.exports = {
"order.after_save": function (ctx) {
if (ctx.data.payment.status === "paid" && ctx.old_data?.payment?.status !== "paid") {
sw.notify.create({ title: "New paid order #" + ctx.data.id, category: "orders", severity: "success" });
}
}
};Event hooks
Run before and after saves on products, orders and customers, and hook into cart and checkout, emails, messages, template rendering, search, and sitemap and robots output.
Custom records
Declare your own record types and fields in the manifest, then query and write them like built-in data. Build CRMs, booking systems, inventory tools and more.
Routes & your own endpoints
Serve JSON or pages from plugin routes. Make a route public and open it to other sites, so you can build your own endpoints for an outside frontend or receive webhooks.
Background & scheduled jobs
Queue long-running tasks of up to 10 minutes and schedule cron jobs, with nothing extra to run yourself. For heavier work, run container jobs billed per second.
Admin widgets & page blocks
Add dashboard widgets, tabs and buttons on detail pages, and blocks for the storefront page builder, all rendered from Liquid with reactive helpers.
Payment gateways & more
Integrate any payment processor with gateway hooks. Bridges cover the store, storage, secrets, cache, files, SQL, CSV and Excel, the ledger, messages and more.
Tooling that fits how you work
CLI & live preview
Scaffold a plugin or theme, edit it locally against your real store with live preview, and ship with a single command.
CLI docs →Build with your AI assistant
The native MCP server lets an assistant create, edit and package plugins and themes for you. Plugins can also publish their own tools, so merchants can simply ask for what your plugin does.
Assistant tools →Docs written for AI too
Every reference ships as llms.txt, llms-full.txt and api.json, so your assistant works from the real hook and bridge signatures instead of guessing.
Sell what you build and keep 70%
Publish plugins and themes to every ShopsWired merchant. Price them as one-time purchases, monthly subscriptions or tiered plans, and sell in-app unlocks or credits after install. You're paid 70% through Stripe on every paid invoice.
- Flexible pricing: free, one-time, monthly or tiered plans
- In-app purchases: one-time unlocks or consumable credits
- Protected source for paid plugins
- Private distribution to the client stores you manage
- Partner referrals don't cut your share: a partner's commission on a sale comes from ShopsWired's side
Start with the docs
Plugin API
Manifest, hooks, bridges, routes, widgets and the marketplace.
Open → ReferenceTheme API
Liquid templates, objects, filters, settings and emails.
Open → ReferenceEntities & context
The shape of every record your code receives.
Open → CookbookRecipes
Copy-ready solutions for common customizations.
Open →Start building today.
Writing your own plugins starts on Pro, which is $1/mo for your first 3 months.