provider Records PATCH
/sobjects/{sObjectName}/{id} @utdk/salesforce
/sobjects/{sObjectName}/{id} Update a record
Update fields on an existing Salesforce record. Only the fields included in the request body are updated. Returns an empty body on success (HTTP 204).
- sObjectName path required
- API name of the Salesforce object
- string
- id path required
- Salesforce record ID
- string
Try it
Authentication
Configure credentials for Salesforce REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import salesforce from '@utdk/salesforce';
await salesforce.updaterecord()