Modern commerce runs on APIs. The Bagisto API turns your store into a headless backend you can connect to any frontend or system.
It ships two surfaces over both REST and GraphQL: a Shop API for storefronts and an Admin API for managing the store.
Here’s the big picture — what each surface does, how to install it, and how an AI agent can wire it up for you.
What Is the Bagisto API?
The Bagisto API is the headless layer of Bagisto, the open-source Laravel commerce platform.
One install exposes your catalog, cart, checkout, customers, and full admin over clean, predictable endpoints.
Every capability is available in both REST and GraphQL, so any client can connect.
It splits into two surfaces:
- Shop API — everything a storefront needs.
- Admin API — everything store management needs.
The Shop API at a Glance
The Shop API powers the customer-facing experience on any frontend you choose.
- Catalog — products, categories, search, filters, reviews.
- Cart & checkout — coupons, shipping, payment, place order.
- Customers — accounts, addresses, order history.
- Engagement — wishlist and compare.
- Multi-channel — locale and currency support built in.
Build a PWA, a mobile app, or a custom storefront — all from one backend.
The Admin API at a Glance
The Admin API manages the whole store programmatically, mirroring the admin panel.
- Catalog — products, categories, attributes, families.
- Sales — orders, invoices, shipments, refunds, transactions, bookings.
- Customers — customers, groups, reviews, GDPR requests.
- Marketing — cart & catalog rules, coupons, campaigns, SEO.
- CMS, Settings & Configuration — pages, channels, taxes, users.
- Dashboard & reporting — with CSV export.
It’s secured with integration tokens scoped to each admin’s own permissions.
REST and GraphQL — Both First-Class
Every endpoint speaks both styles, so teams aren’t forced into one:
- REST — simple, cache-friendly, and universally compatible.
- GraphQL — precise queries in a single round trip.
Same data, same capabilities — your choice of transport.
Install the Bagisto API in Minutes
First you need a running Bagisto store.
If you’re starting fresh, follow the official Bagisto installation guide.
With Bagisto in place, add the Bagisto API by following the installation guide in the docs.
Once installed, your REST docs, GraphQL playgrounds, and endpoints go live.
Let an AI Agent Do the Integration
The Bagisto API ships with AI-agent skill files for Claude Code and GitHub Copilot.
If your team uses an AI coding assistant, point it at the skill file and describe what you need.
The agent reads the package’s patterns and scaffolds the integration for you.
It’s the fastest path from idea to a working API integration.
Explore the Bagisto API Docs and Playgrounds
See everything running before you commit a single line of code:
- API documentation — every endpoint, request, and response.
- REST playground (Shop) — call live storefront endpoints.
- GraphQL playground (Shop) — explore and run storefront queries.
The Shop API is public, so you can try it right in the browser.
The Admin API is gated per admin — test it on your own local install, as the Bagisto Admin API post explains.
What’s Next
This overview is the map; the next two posts are the deep dives.
To build a storefront, read the Bagisto Shop API post.
To manage the store, read the Bagisto Admin API post.
Ready to go headless? Explore the Bagisto API and start building.