Admin API
The Admin API is the store’s management surface: the same endpoints the MyShopie dashboard itself calls. Anything you can do on a screen — create a product, fulfill an order, open a shift, change a theme setting — has an endpoint behind it, authorized either by a staff token or by a scoped Admin API key.
Plans: All plans
Prerequisites
Section titled “Prerequisites”- A staff token or an
msh_key. See Authentication. - The permissions the equivalent screen needs. See Staff & permissions.
- For POS or B2B endpoints, the relevant app installed. See Apps & integrations.
How authorization works here
Section titled “How authorization works here”Three checks stack on an admin route, and the one that fails decides the error you see.
-
Identity. A valid staff token or API key, or you get 401.
-
Permission. The route names a staff permission —
manage_apps,edit_settings,use_pos,view_reportsand so on. A staff token inherits its user’s role; an API key is judged on its scopes instead. Failing this is 403. -
App install and entitlement. POS routes need the POS app and the POS entitlement; wholesale routes need the wholesale app and the companies entitlement; individual features such as the storefront designer or gift cards carry their own entitlement keys. Failing this is also 403.
Catalog and commerce
Section titled “Catalog and commerce”| Area | Endpoints |
|---|---|
| Products | Full CRUD, plus variants, options, images and media |
| Availability | GET /products/check-availability — live SKU and barcode checking for the product form |
| Taxonomy | Categories, attributes, brands, collections, tags |
| Commerce kinds | GET /commerce-kinds, and /products/{product}/commerce/* for admission, digital, subscription, voucher and booking setup |
| Import | Bulk Excel and CSV import with background processing and status polling |
| AI assist | POST /products/analyze — categorization and tag suggestions |
| Gift cards | GET /gift-cards |
| Subscriptions | GET /merchant/subscriptions, plus pause and cancel |
See Products & inventory and Sell anything.
Orders, fulfillment and money
Section titled “Orders, fulfillment and money”Orders carry a nested action surface under /orders/{order}/… — status transitions, fulfillment, shipments
and labels, refunds, invoices, events and notes. Draft orders, the fulfillment queue, return requests and
the transactions ledger all have their own endpoints. POST /pickup/verify is the warehouse terminal’s
endpoint: it submits the scanned QR payload for cryptographic validation before handover.
See Orders & fulfillment and Shipping & click and collect.
Point of sale
Section titled “Point of sale”Everything under /pos/… requires the POS app, the POS entitlement and an active subscription.
| Group | Endpoints |
|---|---|
| Registers | GET /pos/registers, POST /pos/registers, POST /registers/{register}/enroll, and revoke |
| Card terminals | GET /pos/ecr-terminals, register and unregister |
| Credentials | PUT /pos/me/login-pin, staff PINs and badges, staff location assignment |
| Terminal settings | GET /pos/settings, PUT /pos/settings |
| Shifts | GET /pos/shifts, open, close, count, handover, cash movement |
| Catalog | GET /pos/catalog — the branch-scoped sellable catalog the device syncs locally |
| Orders | Create, resolve, add and update lines, custom lines, commit, void, apply discount |
| Overrides | POST /orders/{order}/lines/{item}/price-override — manager PIN in the body |
| Returns | GET /pos/orders/lookup, refund breakdown, refund, exchange |
| Admissions | POST /pos/admission/redeem — scan a ticket at the door |
Refund and exchange calls are idempotent, so a retry after a dropped connection cannot refund twice. See Point of sale.
B2B and wholesale
Section titled “B2B and wholesale”The /b2b/… prefix covers companies, buyers, price lists, catalogs, quotes, order approvals, credit and net
terms, and wholesale applications, behind the wholesale app plus the companies entitlement. See
B2B & wholesale.
Storefront designer
Section titled “Storefront designer”/settings/storefront/… is the designer’s own surface, behind the storefront-designer entitlement: layouts
and templates, sections, header and footer, blueprints, publish, version history and preview tokens. This is
what makes a theme change scriptable — and what an AI agent uses to edit a storefront. See
Visual customizer.
Settings, staff and platform
Section titled “Settings, staff and platform”| Area | Notes |
|---|---|
| Staff and roles | /users, /permissions; 43 permissions across 14 groups |
| Domains | GET /domains, add a hostname (custom hostnames need the entitlement; the free subdomain does not), subdomain check, verify, set primary, DNS enable and preview |
| Store settings | General, taxes, invoices, document layouts, localization, markets, mail, notifications, SEO |
| Apps | /apps — install, configure, uninstall |
| Marketplace | /marketplace/listings… — list, bulk push, publish, unpublish, end, refresh. Needs manage_apps |
| Channel finance | /channel-finance/accounts… — transactions, payouts, sync, fee maps. Needs manage_apps |
Marketplace listing calls act against the channel immediately, with one deliberate exception: MyShopie never sends an end-or-delete command to a marketplace on a product delete or an unlink. See Marketplaces.
The partner lane
Section titled “The partner lane”/api/v1/partner/… is the scope-gated read surface for integrators, authorized by an msh_ key rather
than a staff session, behind an active subscription and the standard API entitlement.
| Endpoint | Scope required |
|---|---|
GET /partner/catalog |
Any valid key |
GET /partner/products, /products/{product} |
products:read |
GET /partner/orders/{order} |
orders:read |
It shares the agent limiter: 120 requests per minute per IP and 60 per minute per key, with responses marked no-cache.
AI agents without writing code
Section titled “AI agents without writing code”A hosted MCP server at https://mcp.myshopie.app/mcp fronts this API for AI clients. Point an MCP client at
it with an Admin API key: the server resolves the store from the key and forwards the bearer token, so the
agent gets catalog, order, settings and storefront-designer tools within that key’s scopes and nothing
beyond them. See AI agents (MCP).
Common problems
Section titled “Common problems”403 on a POS or B2B endpoint. The app is not installed, or the plan does not include the entitlement.
403 on a settings write with a key that reads fine. The key has the read scope but not the write scope. Scopes are issued in read and write pairs.
A marketplace listing action succeeded but nothing changed on the channel. Bulk actions are queued and run in the background; row actions are immediate.
My script’s writes are rejected but admin works. The script’s role or key scope is narrower than your own. That is the point of a key — widen it deliberately rather than reusing a login.
A refund went through twice. It should not: refund and exchange carry an idempotency guard. Check whether two different operators ran it from two devices.
Everything 403s after a plan change. Entitlements are plan-derived. A downgrade removes endpoints.
What can the Admin API do that the dashboard cannot? Nothing by design — the dashboard is built on it. Its value is automation: syncing a warehouse system into stock levels, pushing a supplier feed into the catalog, exporting orders into accounting, or letting an AI agent make the same changes a staff member would.
Which permissions does an Admin API call need?
The same permission the equivalent screen needs. A staff token inherits its user’s role, so an endpoint
refuses what that person could not do in admin. An msh_ key is gated by its scopes instead, which are
coarser and deliberately so.
Are POS and B2B endpoints available on every store? No. POS routes require the POS app installed plus the POS entitlement, and B2B routes require the wholesale app plus the companies entitlement. Without those a call returns 403 rather than 404, so you can tell a missing feature from a wrong URL.
Do I need to write API code to use an AI agent with my store?
No. Point an MCP client at the hosted endpoint at https://mcp.myshopie.app/mcp with an Admin API key, and
the agent gets tools for catalog, orders, settings and the storefront designer within the key’s scopes.
