younifyd
Menu

Update a related record

Update a related record

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

Use it in a workflow

  1. Add a step and choose the Zoho CRM connector.
  2. Pick the Update a related record action (under Related Records).
  3. Fill in the fields below, then reference the result from later steps as {{updateARelatedRecord.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.

recordstringrequired

Specify the unique numeric identifier of the specific related record.

Request body

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

dataarray<object>required

Array containing the record to update.

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 {{updateARelatedRecord.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.