/api/v3/admin. During development the API is available under http://localhost:3000/api/v3/admin. For production, replace http://localhost:3000 with your Spree application URL.
Admin API vs Store API
If you’re building a storefront, use the Store API. The Admin API exposes administrative operations that should never be invoked from a browser.
Using the SDK
We recommend using@spree/admin-sdk to interact with the Admin API. It provides typed clients, automatic retries, and idempotency support.
Installation
Quick start
From the command line
Every endpoint can also be called with the Spree CLI — a generic HTTP client (get/post/patch/delete) built into @spree/cli. It’s the fastest way to explore the API from a terminal or drive it from scripts and AI agents, with zero-config credentials in local development:
spree api endpoints and spree api schema "<METHOD> <path>".
Before integrating, read:
- Authentication — secret API keys, scopes, and JWT tokens
- Errors — error format and admin-specific codes
- Querying — filtering, sorting, pagination, and
expand - Uploads — uploading files and passing their
signed_id - Spree CLI — call the Admin API from your terminal
Opaque values
Some values are references for you to pass along, not data to read. Store and use them exactly as given, and never build or parse them:- Image URLs (
original_url,small_url, …) can change host or format, for example when a store moves to a CDN. signed_idvalues from uploads can change format, and expire after a day.

