Update Collection Item (lawmatics_update-collection-item)
Update an existing collection item's cell values in Lawmatics by ID. Each entry in customFieldValues sets one of the parent Collection's custom fields.
Tool Input
collectionItemIdstringrequired— ID of the collection item to update; a numeric string(pattern: ^\d+$)
customFieldValuesarrayrequired— Cell values to set on the item, one per Collection custom field to change(min items: 1)
[]object
idstringnumberrequired— ID of the Collection's custom field to set (the create example sends a number, the update example a string; either type is accepted here)
valuestringnumberbooleannullrequired— Cell value to set (matches the field's type); pass null to clear the field. Dates are written as ISO 8601 strings (e.g. '1999-03-31')
Tool Output
idstringrequired— Unique ID of the updated collection item
collectionIdstringrequired— ID of the parent Collection this item belongs to, as a numeric string
ownerTypestringrequired— Type of the record this item is attached to as returned by the API — always "Prospect" (a matter) today; the live API rejects other record types on create
ownerIdstringrequired— ID of the record this item is attached to, as a numeric string
customFieldValuesarrayrequired— Cell values stored on this item, one per Collection custom field; empty if none
[]object
idstringrequired— ID of this stored cell value row, as a numeric string
customFieldIdstringrequired— ID of the Collection custom field definition this value belongs to, as a numeric string
namestringnullrequired— Custom field display name; null if not reported
fieldTypestringnullrequired— Custom field data type (e.g. text, date, select); null if not reported
valueanyrequired— Raw stored cell value; type varies by fieldType; null if unset
formattedValueanyrequired— Display-formatted cell value; type varies by fieldType; null if not reported
createdAtstringrequired— When the item was created, as an ISO 8601 timestamp
updatedAtstringrequired— When the item was last updated, as an ISO 8601 timestamp
Related Tools