EBizCharge Connect

EBizCharge Connect Developer Hub

Welcome to the EBizCharge Connect developer hub. You'll find comprehensive guides and documentation to help you start working with eBizCharge Connect as quickly as possible, as well as support if you get stuck. Let's jump right in!

Guides    

UpdateCustomer

Description

Update an existing customer.

Syntax

CustomerResponse UpdateCustomer(SecurityToken securityToken,Customer customer, string customerId, string customerInternalId);

Arguments

Type
Name
Description

securityToken

Merchant security token: used to identify merchant and validate transaction.

customer

Includes customer information, such as customer number, merchant-assigned customer ID, billing address, receipt settings, recurring billing settings, and other pertinent information.

string

customerId

Customer ID for an existing customer.

string

customerInternalId

Unique customer ID number assigned by the internal system for an existing customer.

Return Value

Type
Description

Returns result of UpdateCustomer request.

Examples

var client = new IeBizServiceClient();
SecurityToken securityToken = new SecurityToken();
Customer customer = new Customer();
securityToken.UserId = "userid";
securityToken.SecurityId = "2dc496d1-90b4-4a38-ad78-28a795af78e7";
securityToken.Password = "userPassword";
customer.FirstName = "Mark";
customer.LastName = "Wilson";
customer.CompanyName = "CBS";
customer.CustomerId = "C-E&000002";
customer.CellPhone = "714-555-5014";
customer.Fax = "714-555-5010";
customer.Phone = "714-555-5015";
customer.BillingAddress = new eBizChargeConnectSOAP.Address();
customer.BillingAddress.Address1 = "20 Pacifica";
customer.BillingAddress.Address2 = "Suite 1450";
customer.BillingAddress.City = "Irvine";
customer.BillingAddress.ZipCode = "92618";
customer.BillingAddress.State = "CA";
CustomerResponse Response = client.UpdateCustomer(securityToken, customer, "CBS-001", "");

Console.WriteLine(Response.CustomerInternalId);
Console.WriteLine(Response.Status);
Console.WriteLine(Response.StatusCode);
Console.WriteLine(Response.Error);
Console.WriteLine(Response.ErrorCode);
Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
   <soapenv:Header/>
   <soapenv:Body>
      <ebiz:UpdateCustomer>
         <ebiz:securityToken>
            <ebiz:SecurityId>3dc496d1-90b4-4a38-ad78-28a795af78e9</ebiz:SecurityId>
            <ebiz:UserId/>
            <ebiz:Password/>
         </ebiz:securityToken>
         <ebiz:customer>
            <ebiz:MerchantId/>
            <ebiz:CustomerInternalId/>
            <ebiz:CustomerId>mm-0011-01</ebiz:CustomerId>
            <ebiz:FirstName>Jack</ebiz:FirstName>
            <ebiz:LastName>Smith</ebiz:LastName>
            <ebiz:CompanyName>CBS</ebiz:CompanyName>
            <ebiz:Phone>18885007797</ebiz:Phone>
            <ebiz:CellPhone>7143581268</ebiz:CellPhone>
            <ebiz:Fax>8885557798</ebiz:Fax>
            <ebiz:Email>support@ebizcharge.com</ebiz:Email>
            <ebiz:WebSite>centurybizsolutions.net</ebiz:WebSite>
            <ebiz:RecurringBillingData>
               <ebiz:RecurringBilling>
                  <ebiz:Amount>1000.00</ebiz:Amount>
                  <ebiz:Enabled>true</ebiz:Enabled>
                  <ebiz:Expire>2005-09-12T01:55:02-07:00</ebiz:Expire>
                  <ebiz:Next>2006-11-29T09:20:00</ebiz:Next>
                  <ebiz:NumLeft>*a</ebiz:NumLeft>
                  <ebiz:Schedule/>
               </ebiz:RecurringBilling>
            </ebiz:RecurringBillingData>
            <ebiz:BillingAddress>
               <ebiz:FirstName/>
               <ebiz:LastName/>
               <ebiz:CompanyName>CBS</ebiz:CompanyName>
               <ebiz:Address1>20 Pacifica</ebiz:Address1>
               <ebiz:Address2/>
               <ebiz:City>Irvine</ebiz:City>
               <ebiz:State>CA</ebiz:State>
               <ebiz:ZipCode>92618</ebiz:ZipCode>
            </ebiz:BillingAddress>
            <ebiz:ShippingAddress>
               <ebiz:FirstName/>
               <ebiz:LastName/>
               <ebiz:CompanyName/>
               <ebiz:Address1/>
               <ebiz:Address2/>
               <ebiz:City/>
               <ebiz:State/>
               <ebiz:ZipCode/>
            </ebiz:ShippingAddress>
         </ebiz:customer>
         <ebiz:customerId>mm-0011-01</ebiz:customerId>
         <ebiz:customerInternalId/>
      </ebiz:UpdateCustomer>
   </soapenv:Body>
</soapenv:Envelope>


Response:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <UpdateCustomerResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
         <UpdateCustomerResult>
            <CustomerId>mm-0011-01</CustomerId>
            <CustomerInternalId/>
            <Status>Success</Status>
            <StatusCode>1</StatusCode>
            <Error/>
            <ErrorCode>0</ErrorCode>
         </UpdateCustomerResult>
      </UpdateCustomerResponse>
   </s:Body>
</s:Envelope>

UpdateCustomer


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.