younifyd
Menu

Update related records

Update related records

PUT/{parentRecordModule}/{parentRecord}/{relatedList}

Use it in a workflow

  1. Add a step and choose the Zoho CRM connector.
  2. Pick the Update related records action (under Related Records).
  3. Fill in the fields below, then reference the result from later steps as {{updateRelatedRecords.response.data}}.

Request

Path parameters

parentRecordModulestringrequired

Specify the API name of the module the parent record belongs to. Refer to the [Get Modules](https://www.zoho.com/crm/developer/docs/api/v8/modules-api.html) resource for valid values.

parentRecordstringrequired

Specify the unique numeric identifier of the parent record.

relatedListstringrequired

Specify the API name of the related list containing the records to retrieve or modify. Refer to the [Get Related Lists](https://www.zoho.com/crm/developer/docs/api/v8/related-list-meta.html) resource for valid values.

Request body

Enter the body as JSON in the step's Body field.

dataarray<object>required

Array of records to update with their IDs and field values.

idstring (int64)required

Unique identifier of the record to update.

json
{
  "data": [
    {
      "id": "string"
    }
  ]
}

Response

Returns 200 with an object. Read it in later steps with {{updateRelatedRecords.response.data.<field>}}.

dataarray<object>

Array of operation results per record.

codestringrequired

Result code for the operation.

One ofSUCCESSINVALID_DATADUPLICATE_DATAMANDATORY_NOT_FOUND

detailsobject4 fields

Operation details including affected record ID.

messagestring

Represents the operation result message for the record.

statusstringrequired

Operation status.

One ofsuccesserror

json
{
  "data": [
    {
      "code": "SUCCESS",
      "status": "success",
      "details": {
        "id": "string",
        "api_name": "string",
        "json_path": "string",
        "param_name": "string"
      },
      "message": "string"
    }
  ]
}

Need more? See the Zoho CRM guide for connection setup and behaviour shared by every action.

Update related records — Zoho CRM — Documentation