Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Project Contacts Relation Api → Patch Api Contractors Projects Project Contacts Sync

AI-generated

Summary

PATCHes the Contractors.es project contacts sync endpoint to update the contact/resource sync relation for a specified project. Sends an optional resources JSON body field; the default sentinel omits that field so it is not changed.

Inputs

  • project (required) — Numeric ID of the Contractors.es project to sync contacts for. Used as the project identifier in the request URL.
  • resources — JSON value sent in the request body under the resources key. Defaults to DO_NOT_UPDATE, a sentinel that causes the field to be omitted so no resource update is sent. To update resources, provide the JSON structure expected by the Contractors.es API.
  • requestOptions — Optional request controls: batching (batchSize and batchInterval), allowUnauthorizedCerts, proxy, and timeout.

Output shape

HTTP response body from the Contractors.es API, typically JSON

The exact response body shape is defined by the Contractors.es API; the node passes through the API response for the PATCH request.

Examples

Example 1: PATCH the contact/resource sync relation for a Contractors.es project

Set Project to the target project ID. Leave Resources at DO_NOT_UPDATE to avoid sending a resources body field, or provide the JSON payload the Contractors.es sync endpoint expects. Use Request Options only if you need batching, proxy, timeout, or SSL overrides.

Links

Discussion