# # Customer

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**customer_id** | **int** | primary key | [optional]
**origination_location_id** | **int** | The home location of the customer.  Required Field.  Must be a valid locationId under the hierarchy of the proved locationgroupid. |
**location_group_id** | **int** | The location group defining the scope at which the customer will be distributed. |
**account_number** | **string** | Required field if autonumbering is not setup for customers in OpSuite. |
**account_type_id** | **int** | Then opsuite id of the account type of the customer | [optional]
**custom_date1** | **\DateTime** | Custom field for storing any customer related data | [optional]
**custom_date2** | **\DateTime** | Custom field for storing any customer related data | [optional]
**custom_date3** | **\DateTime** | Custom field for storing any customer related data | [optional]
**custom_date4** | **\DateTime** | Custom field for storing any customer related data | [optional]
**custom_date5** | **\DateTime** | Custom field for storing any customer related data | [optional]
**custom_number1** | **float** | Custom field for storing any customer related data | [optional]
**custom_number2** | **float** | Custom field for storing any customer related data | [optional]
**custom_number3** | **float** | Custom field for storing any customer related data | [optional]
**custom_number4** | **float** | Custom field for storing any customer related data | [optional]
**custom_number5** | **float** | Custom field for storing any customer related data | [optional]
**custom_text1** | **string** | Custom field for storing any customer related data | [optional]
**custom_text2** | **string** | Custom field for storing any customer related data | [optional]
**custom_text3** | **string** | Custom field for storing any customer related data | [optional]
**custom_text4** | **string** | Custom field for storing any customer related data | [optional]
**custom_text5** | **string** | Custom field for storing any customer related data | [optional]
**last_starting_date** | **\DateTime** | Date the customer account was last started | [optional]
**last_closing_date** | **\DateTime** | Date the customers account was last closed | [optional]
**last_updated** | **\DateTime** | Date the customer was last upated | [optional]
**credit_limit** | **float** | The credit limit for the customer when they buy on account | [optional]
**last_visit** | **\DateTime** | Date the customer last visted | [optional]
**tax_exempt** | **bool** | Indicates if the customer is tax exempt | [optional] [default to false]
**notes** | **string** | Notes. SQL Ntext field. | [optional]
**active** | **bool** | Is the customer Active? | [optional]
**is_employee** | **bool** | Is the customer an employee? | [optional] [default to false]
**referred_by** | **int** | The customer id of a customer that was the referer of this customer | [optional]
**referred_by_account_number** | **string** | The account number of a customer that was the referer of this customer | [optional]
**opt_in_email** | **bool** | Has customer opted in for email communication? | [optional] [default to false]
**opt_in_direct_mail** | **bool** | Has customer opted in for direct mail communication? | [optional] [default to false]
**opt_in_telephone** | **bool** | Has customer opted in for telephone communication? | [optional] [default to false]
**billing_contact_id** | **int** | The id of the billing contact record. | [optional]
**billing_email** | **string** | Billing Email Address.  It will be validated to ensure it&#39;s a valid format. |
**billing_title** | **string** | Billing contact&#39;s title.  You can get a list of titles from the Common controller. | [optional]
**billing_first_name** | **string** | Billing contact first name. |
**billing_last_name** | **string** | Billing contact last name. |
**billing_date_of_birth** | **\DateTime** | Billing contact date of birth | [optional]
**billing_company** | **string** | Billing address company name | [optional]
**billing_address_line1** | **string** | Billing address line 1 | [optional]
**billing_address_line2** | **string** | Billing address line 2 | [optional]
**billing_address_line3** | **string** | Billing address line 3 | [optional]
**billing_address_line4** | **string** | Billing address line 4 | [optional]
**billing_city** | **string** | Billing address city or town |
**billing_territory** | **string** | Billing address territory or county |
**billing_zip** | **string** | Billing address zip or postcode |
**billing_iso_country_code** | **string** | Billing address IsoCountryCode.  A 3 character ISO 3166-1 alpha-3 string. http://http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 | [optional]
**billing_telephone_itu_country_code** | **string** | Billing telephone Itu Country Code. | [optional]
**billing_telephone_number** | **string** | Billing telephone number |
**billing_fax_itu_country_code** | **string** | Billing fax Itu Country Code. | [optional]
**billing_fax_number** | **string** | Billing fax number | [optional]
**ship_to_contact_id** | **int** | The id of the ship to contact record. | [optional]
**ship_to_email** | **string** | Ship To Email Address.  It will be validated to ensure it&#39;s a valid format. |
**ship_to_title** | **string** | Ship to contact&#39;s title.  You can get a list of titles from the Common controller. | [optional]
**ship_to_first_name** | **string** | Ship to contact first name. |
**ship_to_last_name** | **string** | Ship to contact last name. |
**ship_to_date_of_birth** | **\DateTime** | Ship to contact date of birth | [optional]
**ship_to_company** | **string** | Ship to address company name | [optional]
**ship_to_address_line1** | **string** | Ship to address line 1 | [optional]
**ship_to_address_line2** | **string** | Ship to address line 2 | [optional]
**ship_to_address_line3** | **string** | Ship to address line 3 | [optional]
**ship_to_address_line4** | **string** | Ship to address line 4 | [optional]
**ship_to_city** | **string** | Ship to address city or town |
**ship_to_territory** | **string** | Ship to address territory or county |
**ship_to_zip** | **string** | Ship to address zip or postcode |
**ship_to_iso_country_code** | **string** | Ship to address IsoCountryCode. http://../Countries | [optional]
**ship_to_telephone_itu_country_code** | **string** | Ship to telephone Itu Country Code. | [optional]
**ship_to_telephone_number** | **string** | Ship to telephone number |
**ship_to_fax_itu_country_code** | **string** | Ship to fax Itu Country Code. | [optional]
**ship_to_fax_number** | **string** | Ship to fax number | [optional]
**community_ids** | **int[]** | The list of community ids that the customer belongs to | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
