Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Context Attribute (PATCH)

Update attributes of a context record.
Resource
1/connect/contexts/attributes
Example for PATCH
1https://yourInstance.salesforce.com/services/data/v67.0/connect/contexts/attributes
Available version
59.0
Requires Chatter
No
HTTP methods
PATCH
Request body for PATCH
JSON example
1{
2    "contextId": "3729ed60-d16d-41b8-8951-9ad4f6407ad2",
3    "nodePathAndAttributes": [
4        {
5            "nodePath": {
6                "dataPath": [
7                    "TestOrder123"
8                ]
9            },
10            "attributes": [
11                {
12                    "attributeName": "Status",
13                    "attributeValue": "DISPATCHED"
14                }
15            ]
16        }
17    ]
18}
Properties
Name Type Description Required or Optional Available Version
updateContextAttributesInput Object Input object for updating context attributes. Required 59.0

When a context definition is mapped to Account and a field is mapped to Account.RecordType.Name, updating the RecordType's ID does not update the mapped field. This is because updating the RecordType ID does not cause updates to other fields of the RecordType record.

Note

Response body for PATCH
Context Output