From 894568d2ee443c770bc95ace5bdc692b522f5241 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Tue, 11 Jan 2022 20:32:53 +0100 Subject: [PATCH] Added an missing API endpoint parameter (references #1741) --- grocy.openapi.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/grocy.openapi.json b/grocy.openapi.json index 691eb2ad..eafdadc4 100644 --- a/grocy.openapi.json +++ b/grocy.openapi.json @@ -3008,7 +3008,11 @@ "properties": { "product_id": { "type": "integer", - "description": "A valid product id of the item on the shopping list" + "description": "A valid product id of the product to be added" + }, + "qu_id": { + "type": "integer", + "description": "A valid quantity unit id (used only for display; the amount needs to be related to the products stock QU), when omitted, the products stock QU is used" }, "list_id": { "type": "integer", @@ -3016,7 +3020,7 @@ }, "product_amount": { "type": "integer", - "description": "The amount of product units to add, when omitted, the default amount of 1 is used" + "description": "The amount (related to the products stock QU) to add, when omitted, the default amount of 1 is used" }, "note": { "type": "string",