OpenApi
    • Branches
      • List active branches
        GET
      • Get a branch's service tree
        GET
    • Services
      • Get available appointment slots
        GET
    • Tickets
      • Book a ticket (walk-in or appointment)
        POST
      • Fetch a ticket
        GET
      • Cancel a ticket
        POST
      • Reschedule an appointment
        POST
    • Customers
      • Create a customer
        POST
      • List customers (paginated)
        GET
      • Fetch one customer
        GET
      • Update a customer
        PUT
      • Delete a customer
        DELETE
      • List a customer's tickets
        GET
    • Schemas
      • SuccessEnvelope
      • PaginatedEnvelope
      • ErrorEnvelope
      • ValidationErrorEnvelope
      • AuthErrorEnvelope
      • Pagination
      • Branch
      • BranchTreeGroup
      • Service
      • Slot
      • Ticket
      • Customer
      • CustomerWriteRequest
      • CustomerUpdateRequest
      • BookTicketRequest
      • ChangeTimeRequest

    Customer

    A customer record in the company directory.

    {
        "_id": "9f2c8b7a4e1d6c3f0a5b8e2d7c4f1a9b",
        "externalId": "crm-7741",
        "companyId": "cmp_5f3a91",
        "name": "Layla Hassan",
        "email": "layla.hassan@example.com",
        "mobile": "+97333445566",
        "metadata": {
            "tier": "gold",
            "source": "mobile-app"
        },
        "createdAt": "2026-06-23T11:00:00.000Z",
        "updatedAt": "2026-06-23T11:00:00.000Z"
    }
    Built with