mirror of
https://github.com/grocy/grocy.git
synced 2026-04-11 23:16:14 +02:00
Update the API to support this (and some other new fields)
This commit is contained in:
parent
051ecc657e
commit
3aed834269
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user