Click or drag to resize

IEditSessionChangeOrderOriginName Method

Sets order origin — name of the source this order was received from. Specifying origin allows to analyse efficiency of external order sources such as different web-sites, mobile applications and so on. Origin name can be set only once.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
void ChangeOrderOriginName(
	string originName,
	IOrderStub order
)

Parameters

originName
Type: SystemString
Non-empty string of the new origin name. Maximum length is 20 chars.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order to specify origin.
See Also