IOrdersApiModifyOrder Method

GF API Documentation
Modifies an existing IOrder

Namespace:  GF.Api.Orders
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

IOrder ModifyOrder(
	ModifyOrderDraft draft
)

Parameters

draft
Type: GF.Api.Orders.DraftsModifyOrderDraft
Order with changed version parameters

Return Value

Type: IOrder
Remarks

ModifyOrderDraft is created based on a source IOrder. The modification ICommand will be put in the Commands list and new order IVersion will be placed to the Versionslist.
Note that the modification command will be initially in pending state, and the client should monitor CommandUpdated event and/or State to see whether the command was executed or failed.
See Also

Reference