The Marketplace Engine API uses Laravel Passport OAuth2-style access tokens for customers, vendors, and delivery drivers. Issue a token via the relevant login endpoint, then send it on protected routes.
{marketplace-host}/api/v3/
POST /auth/sign-up — registerPOST /auth/login — email/phone login → Bearer tokenPOST /auth/social-login / POST /auth/social-registerPOST /auth/forgot-password, POST /auth/verify-token, PUT /auth/reset-passwordPOST /auth/verify-phone, email check/verify helpers
POST /api/v3/auth/login
Content-Type: application/json
{ "email_or_phone": "…", "password": "…" }
Successful login returns an access token. Use it as:
Authorization: Bearer {access_token}
Unauthenticated storefront users can still use cart and place/track flows via
POST /auth/guest/request. Guest-capable customer routes sit behind the
apiGuestCheck middleware (cart, order place/track, etc.).
POST /vendor/auth/loginPOST /vendor/auth/register/vendor/auth/*Authenticated vendor API routes use the vendor.api middleware group under /vendor/*.
POST /auth/driver/loginPOST /auth/driver/store — joining / registration/auth/driver/*Authenticated driver routes live under /driver/* with the driver.api middleware.
Authorization: Bearer {token} — when authenticatedzoneId — JSON array string of zone IDs, e.g. [3]X-localization — locale code (en, tr, …)Content-Type: application/json
Selected /admin/* JSON routes (support tickets, knowledge centre, dashboard
stats, promoted restaurants, shop admin, etc.) are gated by a configured support key
header: X-Web-Admin-Support-Key. This is for licensed ops tooling — not
a public third-party key.
POST /epos/login — in-restaurant EPOS sessionPOST /shop/auth/login — supplies shop vendor login