DigitalCustomers.UpdateCustomer Method
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.
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
stringIf the invoice is successfully sent, it returns the UPID (Update ID); otherwise, it returns errors so that they can be handled properly.
// 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.