Batch Operation Input

Represents the operation type and record data to create, update, and delete in a batch.
JSON example
"operations": [
    {
      "type": "CREATE",
      "records": [
        {
          "apiName": "Account",
          "fields": {
            "Name": "Global Media"
          }
        },
        {
          "apiName": "Contact",
          "fields": {
            "LastName": "Smith"
          }
        }
      ]
    },
    {
      "type": "UPDATE",
      "records": [
        {
          "fields": {
            "Id": "001xx000003Gaf9AAC",
            "NumberOfEmployees": 1000
          }
        }
      ]
    },
    {
      "type": "DELETE",
      "records": [
        {
          "fields": {
            "Id": "001xx000003GanDAAS"
          }
        }
      ]
    }
  ]
Properties
Name Type Description Required or Optional Available Version
type String The type of record operation. Valid values include: Required 59.0
records Record Input [] A description of a record or multiple records to create, update, and delete. Required 59.0