Ostorya dev docs

2026-01

GraphQL Admin API reference

The Admin API is how apps read and change a shop: the catalog, cash-on-delivery orders, delivery and cash, customers, discounts, themes and the team. Ostorya's own Store uses nothing else.

43 queries95 mutations224 objects17 enums

Endpoint#

POST https://ostorya.com/api/admin/2026-01/graphql.json

Authenticate with the X-Ostorya-Access-Token header (how apps get one). Inside an app, App Bridge does it for you:

import { createAppBridge } from "https://dev.ostorya.com/app-bridge/v1.mjs";

const bridge = createAppBridge("https://ostorya.com");
const { products } = await bridge.graphql(`
  query {
    products(first: 10, query: "status:active") {
      nodes { id title handle }
    }
  }
`);

Browse by area#

Conventions#