Skip to content

The public API & SDK for building plugins.

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

import { OrbitClient } from '@orbitcommerce/sdk';

// Embedded in a merchant's dashboard: the SDK receives that store's
// token + storeId over postMessage, so 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 });

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. Register as a partner

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

  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. 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.

The shape of the platform.

Base URL

https://api.myorbitcommerce.net
/v1/*
Data APIversioned, rooted
/oauth/*
Token handshakeunversioned, stable across data-API versions

Auth

Bearer token + x-store-id

scoped per merchant install

Authorization: Bearer <token>
x-store-id: <storeId>

Ready to build?

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