From 3aed8342694a5f4b6272c772190c123b27026798 Mon Sep 17 00:00:00 2001 From: Rosemary Orchard <16113535+RosemaryOrchard@users.noreply.github.com> Date: Mon, 18 Apr 2022 09:06:59 +0100 Subject: [PATCH] Update the API to support this (and some other new fields) --- grocy.openapi.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/grocy.openapi.json b/grocy.openapi.json index d9a61478..4e76d30f 100644 --- a/grocy.openapi.json +++ b/grocy.openapi.json @@ -4481,6 +4481,15 @@ "userfields": { "type": "object", "description": "Key/value pairs of userfields" + }, + "should_not_be_frozen": { + "type": "integer" + }, + "default_consume_location_id": { + "type": "integer" + }, + "move_on_open": { + "type": "integer" } }, "example": { @@ -4502,7 +4511,10 @@ "tare_weight": "0.0", "not_check_stock_fulfillment_for_recipes": "0", "shopping_location_id": null, - "userfields": null + "userfields": null, + "should_not_be_frozen": "1", + "default_consume_location_id": "5", + "move_on_open": "1" } }, "QuantityUnit": {