Update example
- Last Updated: March 6, 2025
- 2 minute read
- Hybrid Data Pipeline
- Version 4.6
- Documentation
To update a record, use a PATCH request
or a POST request with the custom X-HTTP-Method header. Supply the primary key in the resource URL and the
property value(s) for the column(s) to update in the body. The following screen shows a
PATCH request in Postman to update an account name
from Hot Diggity Dog to Hot
Diggity Dogs in a Salesforce data store. To formulate the request:
- The
Content-Typeheader value isapplication/json. - The URL includes:
- The service root,
<myserver>:<port>/api/odata4. - The Data Source
definition name,
sfds. - The plural entity name,
ACCOUNTSfollowed by the primary key, 0011I000002ifiUQAQ (which is cut off in the screen shot).
- The service root,
- The body includes:
- A value of
Hot Diggity Dogsfor theSYS_NAMEfield .
- A value of

The Status value

204 No Content shown in the screen above indicates that
the name was successfully updated. A fetch of the record confirms the update to Hot
Diggity Dogs as shown below:
For more information on updating, see HTTP PATCH or POST and PATCH (update)