Feature: REST API & SDKs

Everything your store does, available over an API.

Products, variants, inventory, orders, customers, discounts, all readable and writable through a clean REST API, with webhooks for real-time events, Zapier for no-code automations, and auto-generated docs. Your store becomes a backend you can build on.

14-Day Free Trial
No Credit Card
0% Platform Fees
REST + webhooks + Zapier
REST
Full API
OpenAPI
Auto docs
SDKs
JS & React
Live
Webhooks
The problem

Most no-code checkouts are a black box.

A drop-in widget is perfect until you need to do something it doesn't do: sync orders to your ERP, build a custom dashboard, drive a headless storefront, or wire inventory to a warehouse. Most lightweight tools give you a checkout and nothing behind it. Then you're stuck, or replatforming.

What you can build

Read and write every part of the store.

01

Catalogue and inventory.

Create and update products, variants, prices, and stock programmatically. Sync from a PIM, a warehouse system, or a spreadsheet, whatever your source of truth is.

02

Orders and customers.

Read orders as they come in, push them to your ERP or accounting, and manage customer records. Build the operations flow your business actually runs on.

03

Headless, if you want it.

Use Shoprocket purely as the commerce backend behind a custom frontend, mobile app, or kiosk. The widget is one way to consume the API, not the only way.

Developer experience

Predictable REST, documented automatically.

Clean, resource-oriented endpoints with predictable JSON, authenticated with an API key. The reference docs are generated from the API itself, so they never drift from what the code actually does, no stale wiki, no guessing at fields.

  • Resource-oriented REST with consistent JSON
  • API-key auth, scoped per store
  • Auto-generated, always-current reference docs
✦ REST API
api.shoprocket.io
GET /v1/orders/ord_8Kq2
────────────────────────────
{
"id": "ord_8Kq2",
"status": "paid",
"total": 5295,
"currency": "usd",
"customer": "cus_Lp9"
}
Beyond the API

The rest of the developer toolkit.

An API is the start. These are the pieces that make it usable in production.

01

Webhooks for real-time events.

Subscribe to events, order created, paid, refunded, product updated, and Shoprocket posts them to your endpoint as they happen. No polling.

02

Zapier, for no-code.

Not every integration needs a developer. Connect Shoprocket to thousands of apps through Zapier, so a new order can hit a spreadsheet, a Slack channel, or your CRM automatically.

03

The widget, on the same API.

The embeddable storefront is built on this exact API, so anything the widget does, you can do yourself. Mix drop-in convenience with custom builds in the same store.

Common questions

Developer questions, answered.

For the people who'll actually build on this.

Is this a real REST API or just a widget config?+
A real, resource-oriented REST API over products, variants, inventory, orders, customers, and discounts, with API-key authentication. The embeddable widget is one client of it; you can be another.
How do webhooks work?+
Subscribe an endpoint to the events you care about (order created, paid, refunded, product updated, and more) and Shoprocket delivers them as they happen. That's how you keep an external system in sync without polling.
Can non-developers automate things too?+
Yes, through Zapier. Connect Shoprocket to thousands of apps with no code, so events like a new order can trigger actions in your CRM, spreadsheet, or messaging tools automatically.
Are the docs kept up to date?+
They're auto-generated from the API, so the reference always matches what the endpoints actually accept and return. No separately-maintained docs to fall out of date.
Which plan includes API access?+
API access and webhooks are available from the Growth plan up, so you can build integrations and headless experiences as your store grows.

Build on a store that's actually an API.

14-day free trial. No credit card. REST API, webhooks, and Zapier from the Growth plan, with 0% platform fees.