dataarray<object>required
Specify the array of objects, where each object maps a field's API name to the new value to be applied across the targeted records. The key must be provided along with either `ids` or `cvid`.
idsarray<string (int64)>
Specify the record IDs to be mass updated synchronously. Use
`ids` for non-scheduler updates that target a small batch of
records and require immediate processing. Use the [Get
Records API](record.yaml#$.paths./{module}.get) to get the
valid IDs of the required records.
> **Note**:
> - You can use either **ids** key or the **cvid** key, you
cannot use them both in a request.
> - Scheduler type(using record IDs):
> - You can mass update a maximum of 50,000 records in a
single API call.
> - Automation rules are triggered automatically when the
record count is less than 1000. When the record count is
greater than 1000, automation rules do not get triggered.
> - If some of the records have invalid data, only those
records will not be processed in the API call.
> - Non-scheduler type(using CVID and territory ID):
> - You can mass update a maximum of 500 records in a
single API call.
> - Automation rules such as approvals, blueprints, and
workflows are triggered automatically.
> - When you want to mass update records in a territory,
you must specify the custom view ID.
> - You cannot mass update Email, lookup fields, layout
fields, multi-line fields, and line items.
> - You can mass update up to three fields in the Deals
module and only one field in all other modules in a single
API call.
cvidstring (int64)
Specify the Custom View ID whose matching records must be mass updated. Use `cvid` to schedule an asynchronous background job that processes the records in the Custom View. Use the [Get Custom View API](custom_views.yaml#$.paths./settings/custom_views.get) to get the ID of the requires custom view.
The response returns a `job_id` that can be passed to [Get Mass Update Status API](mass_update.yaml#$.paths./{module}/actions/mass_update.get) to track the progress of the scheduled job.
> **Note**:
> The cvid key is supported for mass update via API in the following editions:
> - Enterprise
> - Ultimate
> - CRM Plus
> - Zoho One Enterprise
Specify the territory whose records must be mass updated. This key is valid only when you provide a Custom View ID in `cvid`.
idstring (int64)required
Specify the unique ID of the territory. Use the [Get Territories API](territories.yaml#$.paths./settings/territories.get) to get the ID of the required territory.
include_childboolean
Specify whether to include the records of the child
territories in the mass update.
Possible values:
**true** - Include the records of the child territories.
**false** - Restrict the mass update to the records in
the specified territory only.