update_appliance
Update an appliance's details; omitted fields keep their current value. Rejects the update if the resulting warranty expiry date would fall before the purchase date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the appliance to update. | |
| name | No | New name for the appliance. Omit to leave unchanged. | |
| brand | No | New manufacturer or brand name. Omit to leave unchanged. | |
| model | No | New model name or number. Omit to leave unchanged. | |
| notes | No | Freeform notes about the appliance. Omit to leave unchanged. | |
| purchaseDate | No | Date the appliance was purchased, in YYYY-MM-DD format. Omit or send null to leave unchanged, send an empty string to clear it. Must not be after warrantyExpiryDate. | |
| serialNumber | No | New manufacturer serial number. Omit to leave unchanged. | |
| warrantyDocumentId | No | ID of a previously created document containing the warranty paperwork. Omit to leave unchanged. | |
| warrantyExpiryDate | No | Date the manufacturer warranty expires, in YYYY-MM-DD format. Omit or send null to leave unchanged, send an empty string to clear it. Must not be before purchaseDate. | |
| insuranceDocumentId | No | ID of a previously created document containing the insurance policy. Omit to leave unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| title | No | ||
| message | No | ||
| variant | No |