Class WSCustomer
Properties
| NAME | TYPE | LENGTH | REQUIRED | DESCRIPTION |
|---|---|---|---|---|
| EntityId | int | Y | Unique identifier that is generated by EPS. (See - Required Data Elements) | |
| IsCompany | bool | Y | Identifies a customer as an individual or business. (See - Optional Data Elements) | |
| CustomerNumber | string | 50 | Y* | 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’. |
| Field1 | string | 50 | Optional information associated with a customer. Data is stored with the customer. Indexed field. | |
| Field2 | string | 50 | Optional information associated with a customer. | |
| Field3 | string | 50 | Optional information associated with a customer. | |
| FirstName | string | 30 | This is the first name of an Individual customer (IsCompany = False). The element can be left blank if this is a business customer (IsCompany = True). | |
| LastName | string | 60 | Y* | 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. |
| string | 60 | Customer’s email address. | ||
| OtherEmail | string | 120 | Any additional email addresses associated with this customer. | |
| Address1 | string | 50 | Customer’s home or business address. | |
| Address2 | string | 50 | Additional home or business addresses information. | |
| City | string | 40 | The City where this address is located. | |
| StateRegion | string | 40 | The state where this address is located. | |
| PostalCode | string | 10 | The zip or postal code of this address. | |
| Country | string | 40 | The country where this address is located. | |
| EveningPhone | string | 14 | A phone number where the customer can be reached in the evening. | |
| EveningExt | string | 6 | The extension needed to reach the customer in the evening, if applicable. | |
| DaytimePhone | string | 14 | The phone number where the customer can be reached during the day. | |
| DaytimeExt | string | 6 | The extension needed to reach the customer during the day, if applicable. | |
| Fax | string | 20 | A fax number associated with this customer, if available. | |
| SSN | string | 15 | The customer’s Social Security Number. | |
| DLState | string | 2 | The state associated with the customer’s driver’s license. | |
| DLNumber | string | 30 | The customer’s driver’s license number. |