Skip to main content

Class WSCustomer


Properties

NAMETYPELENGTHREQUIREDDESCRIPTION
EntityIdintYUnique identifier that is generated by EPS. (See - Required Data Elements)
IsCompanyboolYIdentifies a customer as an individual or business. (See - Optional Data Elements)
CustomerNumberstring50Y*A unique identifier that references a specific customer. It is a required element whose value can be supplied by the user or left blank. If this element is included in the request and it is left blank, a system-generated value will be assigned.

It is highly recommended that users assign their own unique value to this element to facilitate any update of their customer’s information. *Required when updateCustomerIfExists is ‘Yes’.
Field1string50Optional information associated with a customer. Data is stored with the customer. Indexed field.
Field2string50Optional information associated with a customer.
Field3string50Optional information associated with a customer.
FirstNamestring30This is the first name of an Individual customer (IsCompany = False). The element can be left blank if this is a business customer (IsCompany = True).
LastNamestring60Y*This is either the last name of an individual customer or the company name on a business account. *This element is required if createCustomerIfDoesNotExists OR updateCustomerIfExists = 1.
Emailstring60Customer’s email address.
OtherEmailstring120Any additional email addresses associated with this customer.
Address1string50Customer’s home or business address.
Address2string50Additional home or business addresses information.
Citystring40The City where this address is located.
StateRegionstring40The state where this address is located.
PostalCodestring10The zip or postal code of this address.
Countrystring40The country where this address is located.
EveningPhonestring14A phone number where the customer can be reached in the evening.
EveningExtstring6The extension needed to reach the customer in the evening, if applicable.
DaytimePhonestring14The phone number where the customer can be reached during the day.
DaytimeExtstring6The extension needed to reach the customer during the day, if applicable.
Faxstring20A fax number associated with this customer, if available.
SSNstring15The customer’s Social Security Number.
DLStatestring2The state associated with the customer’s driver’s license.
DLNumberstring30The customer’s driver’s license number.