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

    CustomerUpdateRequest

    Customer update payload. Provide id or externalId to locate the record; only the
    fields you send are changed. When locating by id, an externalId here is treated as a
    new, unique value. metadata replaces the existing object wholesale.

    {
        "id": "9f2c8b7a4e1d6c3f0a5b8e2d7c4f1a9b",
        "externalId": "crm-7741",
        "name": "Layla A. Hassan",
        "email": "layla.new@example.com",
        "mobile": "+97333778899",
        "metadata": {
            "tier": "platinum"
        }
    }
    Built with