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.

Update Claim Action

Update a claim.

This action is available in API version 65.0 and later.

Supported REST HTTP Methods

URI
/services/data/v68.0/actions/standard/updateClaim
Formats
JSON
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
updateClaimInputRepresentation
Type
Apex-defined
Description

Required.

An Apex ConnectApi.UpdateClaimInputRepresentation record that contains the details of the claim to be updated.

Outputs

Output Details
claimId
Type
string
Description
ID of the claim that's updated.

Example

Sample Request

1{
2  "inputs": [
3    {
4      "updateClaimInputRepresentation": {
5        "calimId": "0Z1S70000004oVfIAI",
6        "name": "Claim for Auto Accident",
7        "lossDate": "2025-09-15",
8        "claimType": "Auto",
9        "claimReason": "Rear-end collision",
10        "claimReasonType": "Accident",
11        "lossType": "Accident",
12        "insurancePolicyId": "0YTx0000000001qEAA",
13        "accountId": "001xx000003DGQyAAO",
14        "additionalFields": {
15          "key": "RepairShop",
16          "value": "NY"
17        },
18        "attributes": [
19          {
20            "apiName": "WeatherConditions",
21            "value": "Clear and Sunny"
22          },
23          {
24            "apiName": "NumberOfVehicles",
25            "value": "2"
26          }
27        ],
28        "items": [
29          {
30            "instanceKey": "item_vehicle_damage_01",
31            "name": "Damaged Rear Bumper and Trunk",
32            "productCode": "AUTO-SEDAN-2023",
33            "category": "Auto Physical Damage",
34            "insuredItemId": "02ixx0000004l5sAAA",
35            "insurancePolicyCoverageId": "0cvxx000000AbCdEfG",
36            "attributes": [
37              {
38                "apiName": "DamageSeverity",
39                "value": "Moderate"
40              }
41            ],
42            "additionalFields": {
43              "RepairEstimate": 2750
44            },
45            "relatedObjects": [
46              {
47                "relatedRecordId": "001xx000003DGQzAAP",
48                "relatedRecordObjName": "Account"
49              }
50            ],
51            "participantInstanceKey": "participant_driver_01",
52            "action": "update"
53          }
54        ],
55        "participants": [
56          {
57            "instanceKey": "participant_driver_01",
58            "contactId": "003xx000003DGQyAAO",
59            "accountId": "001xx000003DGQyAAO",
60            "insurancePolicyParticipantId": "0pPxx000000001qEAA",
61            "isInjured": false,
62            "roles": [
63              "Driver",
64              "Claimant"
65            ],
66            "additionalFields": {
67              "key": "StatementTaken",
68              "value": true
69            },
70            "action": "update"
71          }
72        ]
73      }
74    }
75  ]
76}

Sample Response

1[
2  {
3    "actionName": "createClaim",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9      "claimId": "0Z1S70000004oVfIAI"
10    },
11    "sortOrder": -1,
12    "version": 1
13  }
14]