Zum Inhalt

API Overview

REST API der MORELO Dealer Suite.

Base URL

Development: http://localhost:8788/api/v1
Production:  https://api.dealer-suite.morelo-reisemobile.de/api/v1

Authentication

Authorization: Bearer <jwt_token>

Endpoints

Resource Endpoint Methods
Customers /customers GET, POST
Customer /customers/:id GET, PUT, DELETE
Bookings /bookings GET, POST
Booking /bookings/:id GET, PUT, DELETE
Products /products GET
Model Lines /products/model-lines GET
Devices /devices GET, POST
Device /devices/:id GET, PUT
Device Display /devices/:id/display GET

Response Format

{
  "success": true,
  "data": { ... },
  "meta": {
    "page": 1,
    "limit": 20,
    "total": 100
  }
}

Error Format

{
  "success": false,
  "error": {
    "code": "NOT_FOUND",
    "message": "Customer not found"
  }
}

Rate Limits

Tier Requests/min
Free 60
Pro 300
Enterprise Unlimited