# Update contact property

`PATCH /v1/contact-properties/{id}`

Changes the fallback of a property. Its key and its type stay as they are.

Needs the scope: `audiences:write`

## Path parameters

- `id` (string, required): The id of the item. Up to 64 characters.

## Body parameters

- `fallback` (string | number | boolean | null, required): The new fallback, or `null` for none.

## Returns

- `object` ("contact_property"): Always `contact_property`.
- `id` (string): The id of the property.
- `key` (string): The name contacts hold a value under, and the name of its `{{slot}}`.
- `type` (string): What its values are: `string`, `number` or `boolean`. One of: `string`, `number`, `boolean`.
- `fallback` (string | number | boolean | null): What fills its slot for a contact with no value, or `null`.
- `createdAt` (string): When the property was made.

## Example

cURL:

```bash
curl -X PATCH "$OPENSEND_API_URL/v1/contact-properties/prop_plan" \
  -H "Authorization: Bearer $OPENSEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "fallback": "trial"
}'
```

TypeScript:

```ts
await opensend.contactProperties.update('prop_plan', {
  fallback: 'trial',
})
```

CLI:

```bash
opensend contact-properties update prop_plan --fallback trial
```

MCP:

```json
{
  "name": "contact_properties_update",
  "arguments": {
    "id": "prop_plan",
    "fallback": "trial"
  }
}
```

Answer:

```json
{
  "object": "contact_property",
  "id": "prop_plan",
  "key": "plan",
  "type": "string",
  "fallback": "trial",
  "createdAt": "2026-11-27T09:30:00.000Z"
}
```
