SObject Collections Update
PATCH {{_endpoint}}/services/data/v{{version}}/composite/sobjects
Executes actions on multiple records in one request. Use SObject Collections to reduce the number of round-trips between the client and server. This resource is available in API version 42.0 and later.
Request Body
{"allOrNone"=>false, "records"=>[{"attributes"=>{"type"=>"Account"}, "id"=>"<account-id>", "NumberOfEmployees"=>27000}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
[{"id":"001...","success":true,"errors":[]}]