Update consumed item amount
update_consumed_itemUpdate a consumed item in your YAZIO nutrition diary by creating and verifying a replacement entry, then removing the old entry safely.
Instructions
Safely replaces an existing product entry: creates and verifies a replacement, then removes the exact old ID. Attempts compensation on failure. A native YAZIO PATCH endpoint is not confirmed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| amount | Yes | ||
| dry_run | No | ||
| item_id | Yes | ||
| client_request_id | Yes | ||
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||