Newer Version Available

This content describes an older version of this product. View Latest

Update Claim Action

Update a claim.

This action is available in API version 65.0 and later.

Supported REST HTTP Methods

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

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]