DigitalCustomers.UpdateCustomer Method
Update an existing customer to Digital Clients Base.
Public Function UpdateCustomer( _ |
Optional ByVal GreekErrors As Boolean = False _ |
This language is not supported or no code example is available.
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.
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.
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