The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

Update

Updates specified fields of the requested record with the given values. Can also prevent the update from occurring if the record has been modified since a given date.

  • API version (string, optional)
  • Object type (string)
  • Object ID (string)
  • Fields (map, optional)—Maps fields to be updated to their new values
  • “If unmodified since” date (date, optional)—Fulfills the request only if the record hasn’t been modified since the given date
Swift

Objective-C

Kotlin

Java