Creating kitchen orders from the API
A method has been added to the V8Preview7 API CreateKitchenOrder
, that allows you to create a kitchen order via the API.
This kitchen order will not contain a “waiter part”, so all fiscal transactions must be carried out through external systems.
CreateKitchenOrder
allows you to create an empty kitchen order. This can be useful for cases where you need to transfer external data between points (AddOrUpdateKitchenOrderExternalData
, TryGetKitchenOrderExternalDataByKey
).
You cannot add dishes to kitchen orders created via the API. However, such a kitchen order can be cleared of all dishes. A method has been added for this purpose DeleteKitchenOrderItems
. This method only works for orders created via the API.
Also, to make it easier to distinguish whether this is a standard kitchen order or created through CreateKitchenOrder
in IKitchenOrder
field has been added IsExternal
.