Update Contact Property

Update a contact property. Only the fallback_value can be updated — the key and type are immutable after creation.

PATCH/contact-properties/{property_id}

Requires a full_access API key.

Path Parameters

property_idstringrequired

The property ID (UUID).

Body Parameters

fallback_valuestring | number | null

The new fallback value. Must match the property's declared type. Pass null to clear the fallback value.

Response Fields

objectstring

Always "contact_property".

idstring

The property ID.

curl -X PATCH 'https://api.postflare.app/contact-properties/c3d4e5f6-a7b8-9012-cdef-123456789012' \
  -H 'Authorization: Bearer re_xxxxxxxxx' \
  -H 'Content-Type: application/json' \
  -d '{
    "fallback_value": "pro"
  }'
const response = await fetch(
  'https://api.postflare.app/contact-properties/c3d4e5f6-a7b8-9012-cdef-123456789012',
  {
    method: 'PATCH',
    headers: {
      'Authorization': 'Bearer re_xxxxxxxxx',
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      fallback_value: 'pro',
    }),
  }
);

const data = await response.json();

Response

Response
{
  "object": "contact_property",
  "id": "c3d4e5f6-a7b8-9012-cdef-123456789012"
}