DigitalCustomers.UpdateCustomer Method

Update an existing customer to Digital Clients Base.
Public Function UpdateCustomer( _ 
ByVal customer As UpCustomer, _ 
Optional ByVal GreekErrors As Boolean = False _ 
) As String
This language is not supported or no code example is available.
public string UpdateCustomer( 
UpCustomer customer
bool GreekErrors = False 
)
This language is not supported or no code example is available.

Parameters

customer
UpCustomer

The Updated data of the Customer, type of UpCustomer

GreekErrors
bool

Determines if the error will be returned in Greek or not.

Return Value

string

If the invoice is successfully sent, it returns the UPID (Update ID); otherwise, it returns errors so that they can be handled properly.

Example
 
 // The following example sends an update command to Digital Customer Base
 // without updating anything.
 DigitalCustomers dgc = new DigitalCustomers("AADEUserID", "OcpApimSubscriptionKey", "EntityVatNumber", "Arbitrans User", "Arbitrans Key", false);
 DigitalCustomers.UpCustomer cust = dgc.newUpCustomer;
 
 cust.dclId = 100000000000001
 cust.clientServiceType = 3
 
 string Result = dgc.UpdateCustomer(cust);
 					
This language is not supported or no code example is available.
 'The following example sends an update command to Digital Customer Base
 'without updating anything.
 Dim dgc as DigitalCustomers = new DigitalCustomers("AADEUserID", "OcpApimSubscriptionKey", "EntityVatNumber", "Arbitrans User", "Arbitrans Key", False)
 Dim cust As DigitalCustomers.UpCustomer = dgc.newUpCustomer
 
 cust.dclId = 100000000000001
 cust.clientServiceType = 3
 
 Dim Result as String = dgc.UpdateCustomer(cust)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition