Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Contact Group Api → Patch Api Crm Contact Groups Batch

AI-generated

Summary

Update multiple CRM contact groups in batch by sending a JSON array of partial updates for each contact group to the Contractors.es API.

Inputs

  • Resources (required) — A JSON array containing partial update objects for the CRM contact groups. Each object specifies the fields to update for one contact group. The operation will only update the specified fields and will ignore any sentinel values 'DO_NOT_UPDATE' or 'DO_NOT_SET' signaling no changes for those fields.
  • Request Options — Optional settings to control batching behavior, SSL certificate validation (allow unauthorized certs), proxy configuration, and request timeout. Batching can split large input arrays into smaller batches and set intervals between batch requests.

Output shape

An array of responses corresponding to each contact group update request in the batch.

The operation automatically sends the 'resources' array as the request body in JSON format. If batching is enabled through request options, the array is split accordingly and requests are sent sequentially with specified intervals. The API responds with updated contact group information or error details per item.

Examples

Example 1: Batch update multiple CRM contact groups to modify specific fields such as name or description.

Set the 'Resources' parameter to a JSON array with objects specifying the contact group IDs and the fields to update. Optionally enable batching with 'Items per Batch' set to a desired number and 'Batch Interval' to space out requests. Use default request options or customize proxy and timeout as needed.

Links

Discussion