Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Contact Group Relation Api → Patch Api Crm Contacts Contact Groups Group Pivot

AI-generated

Summary

Update pivot (relationship) fields of a specified contact within a specified contact group in the Contractors.es CRM via a PATCH request.

Inputs

  • Contact (required) — Numeric ID of the contact to update.
  • Group (required) — Numeric ID of the contact group related to the contact.
  • Pivot — JSON object containing the pivot fields to update in the relationship. Use the default sentinel value to avoid updating this field.
  • Request Options — Optional settings controlling batching, SSL certificate validation, proxy, and request timeout.

Output shape

a single JSON object representing the updated pivot relation fields in the contact group relation of the specified contact.

The pivot input accepts JSON and is only sent if it's not the sentinel value 'DO_NOT_UPDATE'. Request options like batching and proxying are optional and influence the HTTP request but not the response shape.

Examples

Example 1: Update pivot fields

Provide Contact ID 123, Group ID 456, and a pivot JSON {"role":"Manager"} to update the contact's role within the group.

Links

Discussion