{"openapi":"3.1.0","info":{"title":"DPulse Nabd Super-App API","version":"1.0.0","description":"REST API for Client App, Driver App, and Guest Browsing on delivery.dpulse.sa"},"servers":[{"url":"https:\/\/delivery.dpulse.sa\/api","description":"Current Server"},{"url":"https:\/\/delivery.dpulse.sa\/api","description":"Production"}],"paths":{"\/v1\/app-config":{"get":{"summary":"Dynamic branding, gates, feature flags & demo mode"}},"\/v1\/health":{"get":{"summary":"System health check"}},"\/v1\/super-home":{"get":{"summary":"Guest Super-Home catalog, banners & stores"}},"\/stores":{"get":{"summary":"List active stores with search & category filters"}},"\/stores\/{store}":{"get":{"summary":"Store details with menu items & modifiers"}},"\/v1\/auth\/request-otp":{"post":{"summary":"Request 4-digit OTP for client or delegate"}},"\/v1\/auth\/verify-otp":{"post":{"summary":"Verify OTP and get Sanctum token"}},"\/v1\/demo\/quick-login":{"post":{"summary":"Quick login when Demo Mode is enabled"}},"\/user\/orders\/store":{"post":{"summary":"Create store order with Idempotency-Key"}},"\/user\/orders\/parcel":{"post":{"summary":"Create P2P parcel order"}},"\/user\/orders\/{order}\/tracking":{"get":{"summary":"Poll driver location & ETA (socketless)"}},"\/delegate\/orders\/available":{"get":{"summary":"Nearby available orders for online driver"}},"\/delegate\/orders\/{order}\/offers":{"post":{"summary":"Submit delivery price offer"}},"\/delegate\/orders\/{order}\/status":{"post":{"summary":"Advance order status (requires 4-digit PIN for finished)"}},"\/delegate\/update-location":{"post":{"summary":"Update driver live coordinates"}},"\/delegate\/settlements":{"post":{"summary":"Request bank payout settlement"}},"\/chat\/room-messages\/{room}":{"get":{"summary":"Poll chat messages (text\/image\/audio)"}},"\/chat\/send-message":{"post":{"summary":"Send chat message"}},"\/upload-room-file":{"post":{"summary":"Upload image or audio attachment"}},"\/v1\/maps\/directions":{"get":{"summary":"Cached Google Maps directions proxy"}},"\/delete-account":{"delete":{"summary":"Permanently delete authenticated user or driver account"}}}}