Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Company Group Relation Api → Patch Api Crm Companies Company Groups Group

AI-generated

Summary

Updates a company's group membership by sending a PATCH request to the Contractors.es CRM API.

Inputs

  • company (required) — The unique ID of the company to update.
  • group (required) — The unique ID of the group to assign to the company.
  • slug — The new slug for the company. If set to 'DO_NOT_UPDATE', the existing value is preserved.
  • name — The new name for the company. If set to 'DO_NOT_UPDATE', the existing value is preserved.
  • requestOptions — Advanced request options including batching, proxy, timeout, and SSL settings.

Output shape

A list of items containing the API response data for each input item.

The response structure depends on the API, but it typically includes the updated company details. The node supports batching to limit request rate.

Examples

Example 1: Assign a company to a group without changing its name or slug.

Set Company and Group IDs. Leave Name and Slug as 'DO_NOT_UPDATE'.

Example 2: Update a company's group membership and change its display name.

Set Company ID, Group ID, and Name. Set Slug to 'DO_NOT_UPDATE'.

Example 3: Send the request in batches to avoid rate limiting.

Set Company and Group IDs, then use RequestOptions > Batching to define batch size and interval.

Links

Discussion