Update Customer & Custom Fields

PATCH

/v1/customers/:id

Updates customer contact attributes, names, phone numbers, or custom attributes JSON payload.

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"
    }
  }
}