---
title: "Update custom attribute values for a contact"
method: PUT
path: "/custom-attributes/client-contacts/{id}/values/_bulk"
tags: ["Custom Attributes"]
---

# Update custom attribute values for a contact

`PUT /custom-attributes/client-contacts/{id}/values/_bulk`

Update one or more custom attribute values for a specific contact. Provide an array of attribute definition IDs and their new values.

## Path parameters

- `id` string, required

## Request body

- UpdateAttributeValuesDto
  - `attributes` UpdateAttributeValueDto[], required
    - `attributeDefinitionId` string, required
    - `value` union, required
      - object
        - `viewType` 'customText', required
        - `text` string, nullable, required
      - object
        - `viewType` 'customNumber', required
        - `number` number, nullable, required
      - object
        - `viewType` 'customCheckbox', required
        - `checked` boolean, nullable, required
      - object
        - `viewType` 'customDate', required
        - `date` string, date-time, required
      - object
        - `viewType` 'customTimestamp', required
        - `timestamp` string, date-time, required
      - object
        - `viewType` 'customRating', required
        - `rating` number, nullable, required
      - object
        - `viewType` 'customSelect', required
        - `select` string, nullable, required
      - object
        - `viewType` 'customMultiSelect', required
        - `multiSelect` string[], required
      - object
        - `viewType` 'customCurrency', required
        - `monetaryAmount` MonetaryAmountDto, required
          - `currency` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTC' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNH' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XCD' | 'XCG' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'YER' | 'ZAR' | 'ZMW' | 'ZWG' | 'ZWL', required
          - `amount` number, required
      - object
        - `viewType` 'customDateRange', required
        - `dateRange` DateRangeDto, required
          - `startDate` string, date-time, required
          - `endDate` string, date-time, required
      - object
        - `viewType` 'customDuration', required
        - `duration` number, nullable, required
      - object
        - `viewType` 'customUrl', required
        - `url` string, nullable, required
      - object
        - `viewType` 'customEntity', required
        - `type` 'user', required
        - `id` string, nullable, required
        - `entity` UserBadgeDto
          - `id` string, required
          - `name` string, required
          - `avatarUrl` string, nullable, required
          - `deactivatedAt` string, date-time, required
      - object
        - `viewType` 'customMultiEntity', required
        - `type` 'user', required
        - `ids` string[], required
        - `entities` UserBadgeDto[]
          - `id` string, required
          - `name` string, required
          - `avatarUrl` string, nullable, required
          - `deactivatedAt` string, date-time, required

## Response `204`

Custom attribute values updated successfully

## Other responses

- `400` — Bad request - invalid parameters or attribute values
- `401` — Unauthorized - invalid or missing authentication
- `404` — Contact not found
- `500` — Error response

---

[API](https://skmtc.net/spott/apis/spott-webhooks.md) · [All operations](https://skmtc.net/spott/apis/spott-webhooks/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spott/spott-webhooks/versions/ad1f8c51cf0a/schema)
