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.V3.Editors
Assembly: Resto.Front.Api.V3 (in Resto.Front.Api.V3.dll) Version: 4.1.1236.1 (4.1.1236.1)
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.V3.EditorsIOrderStub
Order to specify origin.
See Also