v2
latestOpenAPI 3.0.12026-07-262352981007.0 KBPatch a matter
Patches a specified matter.
Note: This endpoint can also be used to update a Lead, convert Lead to Matter and change the Lead/Matter type.
See Matters documentation for more details on how to use this.
The following actions are not supported:
-
items cannot be updated where either clientIds and/or otherSideIds are being updated
-
items cannot be updated when converting a Lead to Matter or changing the Lead/Matter type
-
clientRole cannot be updated, unless converting a Lead to Matter or changing the Lead/Matter type
-
Matter cannot be converted back to Lead
-
splitOriginatingStaffSettings cannot be updated without also providing originatingStaffIds in the same PATCH request
-
personAssistingStaffIds cannot contain personAssistingStaffId
-
originatingStaffIds cannot contain originatingStaffId
-
If split originating staff settings are enabled, originatingStaffIds and originatingStaffId cannot be updated
-
When updating via items, client role items and their sub-items must contain at least one item (cannot be empty), while non-client role items and their sub-items can be empty arrays to remove all items
Path parameters
Request body
Example request
{
"externalSystemId": "EXT01",
"number": "FUS-124",
"matterTypeId": "009f778f-83df-454a-b344-768a862a7e55",
"description": "This is a brief description for the matter",
"status": "Open",
"dateOpened": "2022-04-23T14:00:00Z",
"openedDate": "2022-04-23T14:00:00Z",
"closedDate": "2022-04-23T14:00:00Z",
"leadOpenedDate": "2022-04-23T14:00:00Z",
"leadClosedDate": "2022-04-23T14:00:00Z",
"leadClosedReason": "No longer interested",
"referralType": "Google",
"referrerId": "97bbe49f-6460-4bfc-b287-34ddfdbb81ef",
"personResponsibleStaffId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"personAssistingStaffId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"personAssistingStaffIds": [
"c85d28cb-a760-4627-aa59-0a853c2e65ed"
],
"originatingStaffId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"originatingStaffIds": [
"c85d28cb-a760-4627-aa59-0a853c2e65ed"
],
"supervisorStaffId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"clientCode": "Client A",
"branchId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"branchProviderId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"clientRole": "Buyer"
}Response
When request is accepted. Returns a hypermedia 'Link' object of the matter to be patched.