HistoryItems
Used to query the history and notes of items (products or services) within a Xero organization. This tracks changes and updates made to items used in transactions.
View Specific Information
The HistoryItems view allows you to read the notes created on a item, and the history of changes to that item. If a ItemId is not provided, the history of all Items will be retrieved.
Columns
| Name | Type | Description |
| Id [KEY] | String | A unique identifier for the history item, combining its position in the history log with the timestamp of when the change occurred. This ensures each entry is distinctly identifiable, allowing accurate tracking of changes over time. |
| ItemId | String | The unique identifier of the item that this history entry belongs to. This links the history item to a specific record, such as an invoice, order, or product, ensuring that changes are tracked at the item level. |
| Changes | String | Describes the type of change that occurred on the item. This could include modifications such as updates to the item's details, quantity, price, or status, providing context on the nature of the change. |
| Date | Datetime | The exact timestamp when the change occurred. This field captures the time at which the modification was made, providing a clear timeline of updates to the item. |
| User | String | The name of the user who made the change. This field identifies the individual responsible for modifying the item, ensuring accountability and traceability in the system. |
| Details | String | A detailed description of the specific change that was made. This provides clarity on what exactly was altered, such as which fields were modified and how, offering transparency into the update process. |
| TenantId | String | The unique identifier of the tenant. This ensures the query retrieves data specific to a particular tenant in multi-tenant environments, ensuring proper isolation of data between tenants. |