Skip to main content
PATCH
cURL
Updates the two identifiers you own on an association: externalId and producerCode. Send a non-empty string to set a field, null to clear it, and leave a key out to keep its stored value. At least one of the two keys must be present. Both values are unique across your associations. Sending a value another of your associations already carries returns 409 with errorType duplicate_external_id_error or duplicate_producer_code_error. Sending an association’s own current value back is not a conflict. The usual reason to call this is an integration that keyed an association to the wrong record in your system and needs to move its external ID. The response is the full association, identical in shape to Get Association.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

idempotency-key
string

UUID to ensure idempotent request processing

Example:

"550e8400-e29b-41d4-a716-446655440000"

x-idempotency-key
string

Alternative UUID header for idempotent request processing

Example:

"550e8400-e29b-41d4-a716-446655440000"

Path Parameters

downstreamEntityAssociationId
string
required

Downstream entity association ID

Example:

"507f1f77bcf86cd799439011"

Body

application/json
externalId
string | null

Your own identifier for this association, for example the record key in your producer management system. Pass a non-empty string to set it, or null to clear it. An empty string is rejected. Must be unique across your associations. Leave the key out to keep the stored value.

Minimum string length: 1
Example:

"EXT-12345"

producerCode
string | null

Producer code you assign to this downstream entity location. Pass a non-empty string to set it, or null to clear it. An empty string is rejected. Must be unique across your associations. Leave the key out to keep the stored value.

Minimum string length: 1
Example:

"PROD-001"

Response

Updated downstream entity association

data
object
required
requestId
string
required

Unique request identifier

Example:

"dev-2c5e7cf2-9acf-4c8c-ab2f-b81f39d775a8"

timestamp
string
required

Response timestamp

Example:

"2025-11-12T20:49:03.293Z"