Update the API to support this (and some other new fields)

This commit is contained in:
Rosemary Orchard 2022-04-18 09:06:59 +01:00
parent 051ecc657e
commit 3aed834269

View File

@ -4481,6 +4481,15 @@
"userfields": { "userfields": {
"type": "object", "type": "object",
"description": "Key/value pairs of userfields" "description": "Key/value pairs of userfields"
},
"should_not_be_frozen": {
"type": "integer"
},
"default_consume_location_id": {
"type": "integer"
},
"move_on_open": {
"type": "integer"
} }
}, },
"example": { "example": {
@ -4502,7 +4511,10 @@
"tare_weight": "0.0", "tare_weight": "0.0",
"not_check_stock_fulfillment_for_recipes": "0", "not_check_stock_fulfillment_for_recipes": "0",
"shopping_location_id": null, "shopping_location_id": null,
"userfields": null "userfields": null,
"should_not_be_frozen": "1",
"default_consume_location_id": "5",
"move_on_open": "1"
} }
}, },
"QuantityUnit": { "QuantityUnit": {