Context Attribute (PATCH)

Update attributes of a context record.
Resource
/connect/contexts/attributes
Example for PATCH
https://yourInstance.salesforce.com/services/data/v64.0/connect/contexts/attributes
Available version
59.0
Requires Chatter
No
HTTP methods
PATCH
Request body for PATCH
JSON example
{
  "updateContextAttributesInput": {
    "contextId": "3729ed60-d16d-41b8-8951-9ad4f6407ad2",
    "nodePathAndAttributes": [
      {
        "nodePath": {
          "dataPath": [
            "UpdatedTestOrder789"
          ]
        },
        "attributes": [
          {
            "attributeName": "Status",
            "attributeValue": "IN TRANSIT"
          }
        ]
      }
    ]
  }
}
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