Click or drag to resize

IEditSessionAddOrderExternalData Method

Adds external data to the order. Cannot update public external data for closed order. Use DeleteOrderExternalData(String, IOrderStub) to delete the data when it's no longer needed.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
void AddOrderExternalData(
	string key,
	ExternalDataItem externalDataItem,
	IOrderStub order
)

Parameters

key
Type: SystemString
External data key. Max length - 256 chars.
externalDataItem
Type: Resto.Front.Api.Data.CommonExternalDataItem
External data item, that will be added or updated.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order to which external data will be added.
See Also