For engineering teams and AI assistants

Your interface. EcomWeb's backend.

Use the SDK to build experiences on your team's existing stack. The CLI supports administration and automation, with structured inputs and outputs that AI assistants can work with directly.

Architecture

Your own interface, a shared backend.

The integration layer separates the customer experience from the business logic behind it, so your team can redesign the interface or add channels without rebuilding the commerce system.

  1. Storefront, app or landing page
  2. SDK integration layer
  3. EcomWeb backend

Setup

From an empty store to your first experience.

Create the store and load your data once. Then connect the project, build the experience layer with the SDK, and run the store from the admin or the CLI. Each new storefront, landing page or app reuses the same store and data, starting straight from the connect step.

  1. Create the store on EcomWeb

    Create a store in the dashboard and issue access keys for your project. The store gives you your own data and business scope on the shared backend; products and content are loaded in the next step.

    • Dashboard
    • Access keys
  2. Load your content

    Bring products, categories, prices, images and content pages into the store: imported from a file, loaded through the CLI, or entered in the admin.

    • Products and categories
    • Prices and promotions
    • Content pages
  3. Connect store data

    Add the SDK to the Next.js starter or an existing project, authenticate with the access keys, then read catalog, content and prices straight from the store. Subscribe to order events if an external workflow needs to follow along.

    • EcomWeb SDK
    • Access keys
    • Order events
  4. Build the storefront with the SDK

    Build listing, detail, cart and checkout screens from typed methods, and design everything else freely. No matter how often the interface changes, the same backend stays behind it.

    • Catalog and search
    • Cart and checkout
    • Content pages
  5. Run the store

    Handle orders, stock, promotions and content in the admin. Repetitive work can run through the CLI, or be handed to an AI assistant within its permitted scope: where supported, the assistant runs a preview and asks for confirmation before writing data.

    • Admin
    • EcomWeb CLI
    • AI assistant

Toolkit

One tool to build with, one tool to operate with.

The SDK is the development kit for the experience layer. The CLI handles supported administration and automation workflows and is structured for AI assistants to use.

EcomWeb SDK

Build commerce experiences quickly and consistently.

  • A development kit for the experience layer, with typed access to catalog, search, cart, checkout, customers, menus and content pages.
  • Storefront conventions such as SEO, redirects, image handling and page-block schemas are available in the toolkit.
  • Add it to a JavaScript or TypeScript project and keep the HTTP library and frontend framework your team already uses.

EcomWeb CLI

Administration and automation, structured for AI assistants.

  • Run supported administration tasks from the command line, using only the commands and permissions available to the operator.
  • Structured inputs and outputs help an AI assistant understand requests, read results and determine the next step.
  • Operations that support a dry run can be reviewed before they are applied. Important actions still require confirmation, and reversibility depends on the operation.

Technical examples

Example SDK and CLI workflows.

The examples below illustrate how to read data with the SDK and structure an operations workflow through the CLI.

CLI workflowshell
npx @ecomweb/cli setup
ecomweb products list --status active

Coding assistants and automated tasks must state their scope, use a dry run where supported, review the impact and obtain confirmation before important actions.

Next step

Ready to connect your storefront?

Start for free, or talk to us about the integration before you commit to it.

Your interface. EcomWeb's backend. | EcomWeb