update_product_by_id
Update an existing product by specifying its ID and optionally modifying identity, location, identifiers, purchase details, metadata, or status.
Instructions
Update an existing product with grouped parameters.
Args:
item_id: UUID of the item to update (required)
identity: Optional identity updates {"new_name": str, "description": str, "asset_id": str}
location: Optional location change {"id": str} or {"name": str}
identifiers: Optional manufacturing updates {"serial_number", "model_number", "manufacturer"}
purchase: Optional purchase updates {"price": float, "seller": str, "date": str, "warranty_expires": str}
metadata: Optional metadata updates {"notes": str, "quantity": int, "tag_ids": [str], "tag_names": [str], "custom_fields": [{}]}
status: Optional flag updates {"archived": bool, "insured": bool, "lifetime_warranty": bool}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| item_id | Yes | ||
| identity | No | ||
| location | No | ||
| metadata | No | ||
| purchase | No | ||
| identifiers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |