API overview
MyShopie exposes versioned REST APIs under /api/v1. All storefront and admin traffic goes through the Laravel backend — there are no direct client calls to search or cache services.
Base URLs
Section titled “Base URLs”| Context | Base URL |
|---|---|
| Central (platform) | https://myshopie.app/api/v1/central |
| Tenant (store) | https://{store-domain}/api/v1 |
Tenant domains may be shop.myshopie.app or a custom domain.
Auth guards
Section titled “Auth guards”| Guard | Audience |
|---|---|
auth:central |
Platform admin |
auth:sanctum |
Tenant staff / Admin API keys |
auth:customer |
Storefront customers |
Send Authorization: Bearer {token} on protected routes.
Response shape
Section titled “Response shape”{ "success": true, "message": "...", "data": {}}