GET /reports/consumption/:id
Read the detailed data for one Cost of goods report. The technical API path uses consumption.
Path parameters
id: The report'screatedtimestamp.
Status codes
200on success404if the report was not found
Response properties
The response includes created, area_id, history, sections, consumption, items, summary, input, categories, suppliers and account_codes. A report name is included when available.
consumption: Array of per-item consumption entries.items: Item data indexed by item ID. See GET /items/:id for Item properties.summary: Aggregated report results.input: Entered turnover and other values used for the report's results.
The response also includes the report's stock history and sections so the consumption values can be traced back to their sources.