Orbit Commerce
Build on Orbit Commerce

The public API & SDK for building plugins

A curated, versioned REST surface at /v1, a rooted OAuth handshake at /oauth, and a typed scope catalog enforced on every endpoint.

Quick start

From zero to your first API call

The SDK wraps authentication, the x-store-id header and pagination, so a plugin can read the catalogue in a few lines.

  1. 1

    Register as a partner

    Create a partner account and your plugin in the Partner Dashboard to obtain credentials.

  2. 2

    Complete the OAuth handshake

    A merchant installs your plugin and consents to scopes; you exchange the grant at /oauth for a plugin access token.

  3. 3

    Call /v1 with your token

    Send the Bearer token plus the x-store-id header — or let the SDK do it — and you're reading live data.

Terminal
npm install @orbitcommerce/sdk
plugin.ts
import { OrbitClient } from '@orbitcommerce/sdk';

// Embedded in a merchant's dashboard: the SDK receives that store's
// token + storeId over postMessage — nothing is hard-coded per store.
const orbit = new OrbitClient();
await orbit.ready();

// Read the catalogue the merchant granted you access to
const { items } = await orbit.products.list({ limit: 20 });
Quick concepts

The shape of the platform

Base URL
https://api.myorbitcommerce.net
Data API
/v1/*

versioned · rooted

Token handshake
/oauth/*

unversioned · stable across data-API versions

Auth
Bearer token + x-store-id

scoped per merchant install

Ready to build?

Spin up a partner account, install the SDK, and ship your first integration against the live API.