iikoFront Api V7Preview7 Code Reference
iikoFront Api V7Preview7 Code Reference
Resto.Front.Api.Editors
IEditSession Interface
IEditSession Methods
AddOrderGuest Method
AddOrderGuest Method (String, IOrderStub)
AddOrderGuest Method (Guid, String, IOrderStub)

# IEditSession AddOrderGuest Method (String, IOrderStub)

Adds new guest to existing order. User must have rights to edit orders.

Namespace: Resto.Front.Api.Editors
Assembly: Resto.Front.Api.V7Preview7 (in Resto.Front.Api.V7Preview7.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    INewOrderGuestItemStub AddOrderGuest(
    	string name,
    	IOrderStub order
    )

#### Parameters

name
  Type: System
  String
  Name of the new guest. If name is null, then it will be generated automatically.
order
  Type: Resto.Front.Api.Editors.Stubs
  IOrderStub
  Existing order

#### Return Value

Type: INewOrderGuestItemStub
See Also

#### Reference

IEditSession Interface
AddOrderGuest Overload
Resto.Front.Api.Editors Namespace