Newer Version Available

This content describes an older version of this product. View Latest

Update a Record and Get Its Field Values in a Single Request

Use the Batch resource to execute multiple requests in a single API call.

The following example updates the name on an account and gets some of the account’s field values in a single request. The batch.json file contains the subrequest data.

Update a record and query its name and billing postal code in a single request
Request body batch.json file
Response body after successfully executing the subrequests