Description

This method will update existing order for appropriate client.

Definition (VB.NET)

<WebMethod(), SoapHeader("AuthSoapHeader")> _
Public Function UpdateOrder(ByVal OrderID As Integer, _
                              ByVal ClientID As String, _
                              ByVal ProductID As Integer, _
                              ByVal OrderDate As String, _
                              ByVal NetSales As Decimal, _
                              ByVal NetDiscount As Decimal, _
                              ByVal ServiceFee As Decimal, _
                              ByVal TotalSales As Decimal, _
                              ByVal NumberOfLicenses As Integer, _
                              ByVal GrantedLicenses As Integer, _
                              ByVal SerialNumber As String, _
                              ByVal PaymentType As String, _
                              ByVal Note As String, _
                              ByVal Refunded As Boolean, _
                              ByVal RefundDate As String, _
                              ByVal RefundedAmount As Decimal, _
                              ByVal ChargedBack As Boolean, _
                              ByVal ChargebackDate As String, _
                              ByVal ChargedBackAmount As Decimal, _
                              ByVal Features As Integer, _
                              ByVal Active As Boolean _
                              ) As Result

Security

This method can be used by administrator users only.

Parameters

Name Type Description
OrderID Integer Unique order ID value
ClientID String Unique client ID value
ProductID Integer Unique product ID value 
OrderDate String Order date
NetSales Decimal Net sales amount
NetDiscount Decimal Net discount amount
ServiceFee Decimal Service fee amount
TotalSales Decimal Total sales amount
NumberOfLicenses Integer Number of purchased licenses
GrantedLicenses Integer Number of granted licenses
SerialNumber String Serial number value
PaymentType String Payment type
Note String Note
Refunded Boolean Refunded flag
RefundDate String Date of refund
RefundedAmount Decimal Refund amount
ChargedBack Boolean Chargeback flag
ChargebackDate String Date of chargeback
ChargedBackAmount Decimal Chargeback amount
Features Integer Custom features/td>
Active Boolean Active flag

Return values

In case of success Result.Status is set to STATUS_SUCCESS

In case of error appropriate error status code is returned.