Catalog
Products, variants, attributes, collections and inventory.
</> Developers
The admin runs on this same API. Use it to build a storefront with the SDK, hand day-to-day operations to AI agents through the CLI, and deploy your theme with one command.
Admin
for merchants
Storefront
@ecomweb/sdk
AI agents, CI
@ecomweb/cli
EcomWeb API
REST, described with OpenAPI. Access keys with scopes.
A storefront API and an admin API, both described with OpenAPI. Included in every plan, Free too.
Products, variants, attributes, collections and inventory.
Orders, customers, promotions and shipping rates.
Pages, blog posts, menus, banners and custom data.
Themes, domains, revenue and Google Analytics.
Every access key has its own scope: which data, read only or not, allowed IP addresses and an expiry date.
Read the API docs →Storefront
Drop it into any Next.js or JavaScript project. The SDK ships TypeScript types for everything a store needs.
ecomweb storefront init sets up a Next.js project already connected to your storeimport { createEcomwebSdk } from "@ecomweb/sdk";
import { http } from "./http"; // your own fetch, axios, ky...
const sdk = createEcomwebSdk({
publicHttp: http,
authHttp: http,
});
const product = await sdk.products.getBySlug(
"723e6d4a", // store ID
"ao-thun-basic",
{ include_variants: true },
);Operations with AI agents
The CLI is built for AI agents. Claude Code, Codex or your own automations use it to add stock, change prices, process orders and read reports.
ecomweb describe shows the agent the shape of the data before it writes--dry-run# Products running low, as JSON for the agent
$ ecomweb products list \
--inventory-status low_stock --output json
# The agent checks the data shape before writing
$ ecomweb describe products --operation update
# Test run. Nothing is written to the store yet
$ ecomweb products batch-update \
--file new-prices.json --dry-runA preview for every pull request
Check it before you publish
Deploy with the CLIFrom the Growth plan
Write the storefront on your machine and EcomWeb builds and runs it. No servers to look after.
ecomweb deploy creates a preview that lasts 24 hours. Put it live once it looks rightecomweb logs follows the build, deployments rollback goes back to the last versionecomweb envOn your own servers, any plan works. Compare plans →
The admin is still there whenever you want it.
ecomweb auth login --email. A sign-in code arrives by email, no password needed.
ecomweb init creates a store and an API key for your project.
ecomweb storefront init creates a Next.js project already connected to your store.
ecomweb deploy, or run it on your own servers.
Create a free store, get an access key and make your first API call in the same afternoon.