Update a record by External Id
PATCH/query/:object
Changes only the fields in the body, leaving every other field alone. The record is found by its portal External Id.
There is no upsert: the External Id is a Salesforce AutoNumber that no caller can supply, so a create-or-update would never match and would duplicate on every retry.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Updated.
The request could not be completed. The error field says what to change. A field the
key may not write, or the user may not edit, is named rather than silently dropped;
a validation rule in your own org is passed back word for word.
Not authorised. The Client ID is unknown, the Secret does not match, the key has been revoked, or the portal user is inactive — the answer is deliberately the same for all of them, so the endpoint cannot be used to work out which.
The object, or the operation on it, is not available to this key. The same answer is given whether the administrator never granted it or the portal user has since lost the permission, so refusals cannot be used to map out what was configured.
No such record. Returned both for a record that never existed and for one that exists but this key's user may not see — otherwise the API would confirm the existence of records the caller is not allowed to know about.
Too many requests this hour. Reads and writes have separate ceilings, counted per portal user over a rolling hour — 500 reads and 100 writes by default.
Response Headers
Seconds to wait before trying again.