This service provides access to customer account information. The customer has two collections for contacts. The Contacts list is typically used for CRM activity and the Delivery Contacts used to populate delivery contact information on sales orders.
Available Services...
GET PUT POST SEARCHProperty Name | Access | Description |
---|---|---|
Code | ReadWrite | The unique account code to identify the customer. This can be used in queries as an alternative to the ID to specify the customer when writing properties of type Customer |
Name | ReadWrite | The customer's account name |
Address.AddressLine1 | ReadWrite | Address line 1 |
Address.AddressLine2 | ReadWrite | Address line 2 |
Address.AddressLine3 | ReadWrite | Address line 3 |
Address.AddressLine4 | ReadWrite | Address line 4 |
Address.City | ReadWrite | The city |
Address.County | ReadWrite | The county |
Address.Country | ReadWrite | The country, this can be a valid country ID, country code or name. A list of valid countries can be retrieved from the country service |
Address.PostCode | ReadWrite | A UK or Irish postcode or eircode |
DefaultCurrency | ReadWrite | The default processing currency for the account. A list of valid currencies can be retrieved from the currency service. |
Phone | ReadWrite | Phone |
Mobile | ReadWrite | Mobile phone number associated with the account. Contacts can also have mobile phone numbers associated with them explicitly. |
Fax | ReadWrite | Fax number |
EmailAddress | ReadWrite | The primary account email address. Contacts may alos have specific email addresses associated with them. |
SalesRep | ReadWrite | The sales rep primarily responsible for the customer account. A list of sales reps can be retrieved from the sales rep service. |
Statistics.Balance | ReadOnly | The account balance in the account's currency |
Statistics.OutstandingOrders | ReadOnly | The total value of outstanding sales orders in the account's currency |
Statistics.UnbilledDeliveries | ReadOnly | The total value of orders that have been deliverd but are yet to be invoiced in the account's currency |
CreditControlSetup.CreditLimit | ReadOnly | The account credit limit in the account currency |
Contacts.FirstName | ReadWrite | First name |
Contacts.LastName | ReadWrite | Last name |
Contacts.Address.AddressLine1 | ReadWrite | Address line 1 |
Contacts.Address.AddressLine2 | ReadWrite | Address line 2 |
Contacts.Address.AddressLine3 | ReadWrite | Address line 3 |
Contacts.Address.AddressLine4 | ReadWrite | Address line 4 |
Contacts.Address.City | ReadWrite | City |
Contacts.Address.County | ReadWrite | County |
Contacts.Address.Country | ReadWrite | Country. A list of valid countries can be retrieved from the country service |
Contacts.Address.PostCode | ReadWrite | A valid UK postcode or Irish eircode |
DeliveryContacts.FirstName | ReadWrite | Delivery contact first name |
DeliveryContacts.LastName | ReadWrite | Delivery contact last name |
DeliveryContacts.Address.AddressLine1 | ReadWrite | Address line 1 |
DeliveryContacts.Address.AddressLine2 | ReadWrite | Address line 2 |
DeliveryContacts.Address.AddressLine3 | ReadWrite | Address line 3 |
DeliveryContacts.Address.AddressLine4 | ReadWrite | Address line 4 |
DeliveryContacts.Address.City | ReadWrite | City |
DeliveryContacts.Address.County | ReadWrite | County |
DeliveryContacts.Address.Country | ReadWrite | Country. A list of valid countries can be retrieved from the country service |
DeliveryContacts.Address.PostCode | ReadWrite | A valid UK postcode or Irish eircode |
D_FreePostage | ReadWrite | Free Postage Y/N |
D_UsePostageRate2 | ReadWrite | Indicates to use the second set of rates associated with Delivery Agents/Service |
D_SmartmedClient | ReadWrite | Smartmed Client Y/N |
D_CleverClinic | ReadWrite | Clever Clinic Y/N |
D_PrimeAccount | ReadWrite | Prime Account Y/N |
D_SparkAccount | ReadWrite | Spark Account Y/N |
D_VipCustomer | ReadWrite | Vip Customer Y/N |
D_RestrictedProductTrained | ReadWrite | Restricted Product Trained Y/N |
D_ActiveInEpharmacy | ReadWrite | Active In Epharmacy Y/N |
Contacts.ContactType | ReadWrite | Type of Contact |
Contacts.D_ObagiTrained | ReadWrite | Obagi Trained Y/N |
DeliveryContacts.D_BusinessName | ReadWrite | Website Business Name |
DeliveryContacts.D_AddressDescription | ReadWrite | Website Description for Address |
Contacts.D_Prescriber | ReadWrite | Is the contact a Presciber |
Contacts.D_PrescribersRegistration.RegistrationNo | ReadWrite | Prescribers Registration No |
D_DirectToPatient | ReadWrite | Direct to Patient |
DeliveryContacts.D_EPharmacyID | ReadWrite | Epharmacy ID Number |
TaxSetup.DefaultTaxRate | ReadWrite | TaxSetup.DefaultTaxRate |
PostingMap | ReadWrite | PostingMap |
Type | ReadWrite | Type |
CreditStatus | ReadWrite | CreditStatus |
Contacts.D_EPharmacyID | ReadWrite | ID Within ePharmacy Website |
Contacts.D_PrescribersRegistration | ReadWrite | ID of the Prescriber record |
Contacts.D_AccountHolder | ReadWrite | Is Contact the Account Holder |
Contacts.D_Orders | ReadWrite | Is Contact the Ordering contact |
Contacts.D_PaymentAndInvoices | ReadWrite | Is Contact the Payments and Invoices contact |
Contacts.D_PostOrEmailStatements | ReadWrite | Is Contact the Statements Contact |
Contacts.D_PostOrEmailInvoicesAndCredits | ReadWrite | Is Contact the Invoice and Credits Contact |
PricingSetup.PriceList | ReadWrite | PricingSetup.PriceList |
PricingSetup.AdditionalPriceLists | ReadWrite | PricingSetup.AdditionalPriceLists |
D_AccountHolderProfession | ReadWrite | Profession of Account Holder |
Region | ReadWrite | Sales Region |
Contacts.Salutation | ReadWrite | Salutation of Contact |
Contacts.EmailAddress | ReadWrite | Email address of Contact |
Contacts.Phone | ReadWrite | Phone No for Contact |
DeliveryContacts.Salutation | ReadWrite | Salutation of Delivery Contact |
DeliveryContacts.EmailAddress | ReadWrite | Email Address of Delivery Contact |
DeliveryContacts.Phone | ReadWrite | Phone no of Delivery Contact |
D_BeautyAccount | ReadWrite | D_BeautyAccount |