Optional Export of External Plugin Data When Retrieving All Kitchen Orders

Tags: v9preview1 v9

In the API V9Preview1 for the method GetKitchenOrders, an optional parameter includeExternalData has been added, allowing the export of external plugin data when retrieving kitchen orders.

If the parameter includeExternalData is set to true, all kitchen orders will be returned with the populated field IKitchenOrder.ExternalData — all external data from all plugins.

If external plugin data was not requested when retrieving all kitchen orders, it can always be obtained for a specific kitchen order using the method TryGetKitchenOrderExternalDataByKey.