Customers

Update customer field value

Changed on

Update a customer's custom field value.

put/api/customers/{customer_id}/custom-fields/{id}

Request

Path parameters

customer_idinteger required

The ID of the customer.

idinteger required

The ID of the custom field.

Request body

string required
OR
integer required
OR
boolean required

Response

List of customer's updated custom fields values.

valueunknown required

Example response

{
  "field": {
    "id": 123,
    "external_id": "custom-field-84203241",
    "label": "Test field",
    "description": "An amazing field description.",
    "priority": 1,
    "required": true,
    "definition": {
      "input_settings": {
        "placeholder": "Enter this here..."
      }
    },
    "created_datetime": "2019-01-02T03:04:05.123456",
    "updated_datetime": "2020-01-02T03:04:05.123456",
    "deactivated_datetime": "2021-01-02T03:04:05.123456"
  }
}

Changes

    • breaking

      the / response property's maxLength was increased from 255 to 1024 for the response status