Update multiple records in a single REST call
Why would you want to update multiple records in a single REST call?
How does this work
actions:
- children:
- type: action.execute-entities
options:
title: Update Record
provider: DATA_PROVIDER_REST
entity: customers
method: update
function: rest-update-customer
# All records will be updated with Bronze tag
# CustomerType is the same (static) across all records
parameters:
customerType: Bronze
data:
customerType: Bronze actions:
- children:
- type: action.execute-entities
options:
title: Update Record
provider: DATA_PROVIDER_REST
entity: customers
method: update
goBack: stay
function: rest-update-customer
# All records will be updated dynamically per record.
# Define the properties to be updated in the records.
# Data must include all required properties on the record
# in the datasource.
parameters: [email protected].{"id":id, "firstName":firstName, "lastName":lastName, "companyName":companyName}[]
data: [email protected].{"id":id, "firstName":firstName, "lastName":lastName, "companyName":companyName}[] Scenario

How is this scenario configured
REST API
Function
Action (global)
Jig (screen)
Index
Updating multiple images & REST calls in a single REST call
Last updated
Was this helpful?