CiviCRM icon

CiviCRM

Interact with CiviCRM API v4 to manage contacts, memberships, groups, and more.

Membership → Update

AI-generated

Summary

Update a CiviCRM membership by its internal ID, setting the supplied fields through the API v4 update action. The node then fetches and returns the updated membership record.

Inputs

  • ID (required) — Internal CiviCRM membership ID to update.
  • Fields — Add field name/value pairs to set. Empty names and empty values are skipped; string values are converted to booleans, numbers, or JSON objects/arrays when they match those formats.
  • Runtime Bearer Token (Optional) — Optional JWT, often supplied by expression, used for this request. When provided, the node uses it as-is and does not fall back to credential authentication if the request errors or returns no data.
  • Base URL Override — Optional CiviCRM site root for this item, without /civicrm. If omitted, the credential's Base URL is used; a missing scheme is treated as https://, and only HTTP(S) URLs are accepted.

Output shape

A single record per input item

Returns the membership record fetched after the update, or an empty object if the fetch returns no record. With Continue On Fail enabled, an item that errors returns an object containing an error message.

Links

Discussion