McMain icon

McMain

Interact with McMain API

Contact → Update

AI-generated

Summary

Update a contact record by ID with specified field values and optional request settings.

Inputs

  • id (required) — ID of the contact to update
  • updateFields.name — Last name of the contact
  • updateFields.firstName — First name of the contact
  • updateFields.initials — Initials of the contact
  • updateFields.function — Job title of the contact
  • updateFields.telephone — Telephone number of the contact
  • updateFields.email — Email address of the contact
  • updateFields.vendorId — Vendor ID of the contact
  • updateFields.accountId — Account ID of the contact
  • updateFields.financialReference — Financial reference of the contact
  • updateFields.addressStreet — Street component of the address
  • updateFields.addressHouseNumber — House number component of the address
  • updateFields.addressPostalCode — Postal code component of the address
  • updateFields.addressCity — City component of the address
  • updateFields.addressCountry — Country component of the address
  • requestOptions.batching.batchSize — Number of items per batch for throttling; -1 disables batching, 0 treated as 1
  • requestOptions.batching.batchInterval — Time in milliseconds between batches; 0 disables interval
  • requestOptions.allowUnauthorizedCerts — Whether to accept responses when SSL certificate validation fails
  • requestOptions.proxy — HTTP proxy URL, optionally with authentication credentials
  • requestOptions.timeout — Request timeout in milliseconds

Output shape

a single updated contact record

Returns the updated contact object; errors are handled by n8n’s standard error envelope

Examples

Example 1: Update a single contact's email and phone

Set Contact ID to 12345, add an Update Fields entry with Email = 'john@example.com' and Telephone = '555-1234', leave Request Options at defaults

Example 2: Bulk update multiple contacts using batching

Provide multiple Contact IDs via input data, enable Batching with batchSize = 100 and batchInterval = 500, optionally set Proxy

Example 3: Update contact with address fields and disable SSL verification

Fill Contact ID, add Address: Street and Address: Country fields, set Allow SSL Issues to true

Discussion