Onebear
    • One Bear Public API
      • Webhooks
      • Getting started
      • Customers
        • List customers
        • Create a customer
        • Get a customer
        • Update a customer
      • Messages
        • List messages in a room
        • Get a message
      • Orders
        • List orders
        • Get an order
      • Products
        • List products
        • Get a product
      • Rooms
        • List rooms
        • Get a room
      • Schemas
        • CreateCustomerRequest
        • CustomerAddress
        • CustomerContactPerson
        • UpdateCustomerRequest
    • Live Chat Widget
      • Live Chat Widget - Setup & Integration Guide
      • OneBear Live Chat Widget — คู่มือตั้งค่าและการผสานระบบ
    • API Channel
      • API Channel - Setup & API Reference
      • OneBear API Channel — คู่มือตั้งค่าและ API Reference

    UpdateCustomerRequest

    {
        "name": "string",
        "customerType": "string",
        "status": "string",
        "email": "string",
        "phone": "string",
        "avatar": "string",
        "nationalId": "string",
        "taxId": "string",
        "addresses": [
            {
                "id": "string",
                "label": "string",
                "address": "string",
                "subDistrict": "string",
                "district": "string",
                "province": "string",
                "postalCode": "string",
                "country": "string",
                "isDefault": true,
                "note": "string"
            }
        ],
        "contactPersons": [
            {
                "id": "string",
                "name": "string",
                "role": "string",
                "phone": "string",
                "email": "string"
            }
        ],
        "customFieldValues": {
            "property1": "string",
            "property2": "string"
        },
        "interests": [
            "string"
        ],
        "source": "string",
        "channelIntegrationIds": [
            "string"
        ]
    }
    Built with