API Ecommerce is a production-ready RESTful API built with Laravel 10, powering a complete e-commerce platform. It handles authentication (with role-based access for admins and customers), a multi-level product catalog with variations and specifications, a shopping cart with coupon support, checkout via MercadoPago, order management, product reviews, and a full admin panel for content management.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JuanSCaicedo/Api-Ecommerce/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Make your first authenticated API call in minutes
Authentication
Learn JWT authentication, token refresh, and role separation
Storefront API
Explore home feed, products, cart, and checkout endpoints
Admin API
Manage products, categories, discounts, and site configuration
How the API is organized
The API has two major surface areas, each with its own authentication context:Storefront
Customer-facing endpoints — browsing products, managing a cart, placing orders, writing reviews, and managing profile and shipping addresses.
Admin Panel
Admin-only endpoints — full CRUD for products, categories, brands, variations, sliders, discount campaigns, and coupons.
Core Concepts
Understand the request/response format, rate limiting, caching strategy, and error codes used across every endpoint.
Deployment
Configure environment variables, connect OCI object storage, and set up the GitHub Actions CI/CD pipeline.
Get up and running
Configure your environment
Copy
.env.example to .env, generate an application key, and configure your database and JWT secret.All API endpoints are prefixed with
/api. The storefront endpoints live under /api/ecommerce/ and the admin endpoints under /api/admin/. Authentication endpoints are at /api/auth/.