고객 정보 및 사용자 정의 필드 수정

PATCH

/v1/customers/:id

고객 연락처 정보, 이름 및 JSON 사용자 정의 필드 데이터를 수정합니다.

Parameters

NameTypeDescription
idrequiredstringCustomer UUID
namestringFull name
first_namestringFirst name
last_namestringLast name
emailstringEmail address
phone_numberstringPhone number
custom_attributesobjectJSON key-value object of custom attributes

Responses

200Customer updated
{
  "data": {
    "id": "cst_101",
    "name": "Alice Johnson",
    "email": "alice.j@example.com",
    "custom_attributes": {
      "tier": "VIP",
      "renewal_date": "2027-01-01"
    }
  }
}