FD1 Client Protocol
 
Library Developer Home FD1 Client Protocol Home Concepts Reading Data Writing Data Protocol Defined Servers Connect & Authenticate Proxies & Tunnels
Webhooks & Firehoses Programming Support Logging Minor Facts State Facts Response Format How To Guides eCommerce Sites Custom Point of Sale Customer Access Bulk Downloads Major APIs / Endpoints All Endpoints Products Sales SalesBuilder Session Get Attribute Sale Capture General Purpose Data Capture Devices Barcode Scanners Eftpos IoT Sensors Power Outlets Printing Scales Security Cameras Purchasing / Supply Side Purchase Orders Invoices Invoice Payments Document Capture Rare APIs / Endpoints SSL Certificates API Key Management Diagnositics PosGreen Server to Client Messages Overview Resources / Objects Purchase Order Invoice Payable Invoice Payment Product Supplier Location Sale Lines Sale Delivery Details Sales Price Maps Employees Carriers Payments Product Kits Department 1 Customers

Customers Resource

This resource describes details of a single Customers

"K". The field physkey is expected in the "k" (key) parameter for FD1 edit functions.

Available Fields

NameDescriptionDatatypeResource"q"
cidUnique number assigned to this customer record. Negative numbers may be subject to automatic renumbering. Zero is never used.Number
keyUnique primary key assigned to this record.String
nameThe customers full name. This field is typically used on reports. If left blank the system will populate it based on other fieldsString
lastnameThe last name of the customer.String
firstnameThe customers first (christian) name.String
address1Line 1 of the customer primary addressString
address2Line 2 of the customer primary addressString
address3Line 3 of the customer primary addressString
address4Line 4 of the customer primary addressString
address5Line 5 of the customer primary addressString
address6Line 6 of the customer primary addressString
cityPrimary city or town this customer resides in. This value is expected to also be present in the AddressN fields and is extracted to aid reportingString
postcodePost code for this customer. This value is expected to also be present in the AddressN fields if relevant and is extracted to aid reportingString
phoneCustomer primary phone numberString
mobileCustomers mobile phone numberString
faxCustomers fax numberString
emailCustomers primary email addressString
contactcommentA comment relating to communication with this customer. Designed to say things like 'Do not call after 6pm'String
birthdayCustomers birthday. This can be either a precise date or a DD/MM pair. Used to trigger Point Of Sale messages on this aniversary
creditlimitTotal credit limit for this customer. Typically customers belong to an account and the account provides the credit limit
floorlimitMaximum single transaction for this customer.
customercardnoA unique barcode sequence assigned to this customer alone. This field should contain the complete barcode
accountidAccount number this customer belongs too. Zero if customer does not have a charge account.Number
receiptformatIf this customer is to use a specific receipt format, this field contains the name of the format to override system defaults
emailreceiptEmail Sale Receipts
createdateDate this customer was created in the system.DateTime
phone2Secondary phone number of customerString
companynameCompany name for this customerString
keywordsA comma or pipe seperated list of keywords assigned to this customer. Keywords and meanings are free for sites to assign.
createdstoreStore that originally created this customer
customerrep
commentsFree form comments
division
stateState/Province for addressString
marketingoptinNumber
eucitizen
recordtype
marketingflagsNumber
latitudeCustomers primary Geographic latitudeDouble
longitudeCustomers primary Geographic longitudeDouble
altitudeCustomers primary Geographic altitudeDouble
contactintervalDefines the number of days that can elapse before contact is made to this customerNumber
crmflagsNumber
lastcontactdtDate/time (local) this customer was last contacted.DateTime
occupationfreeformString
occupationanzscoNumber
sellingmessageSimple text message displayed on screen when customer selected at Point Of SaleString
emailtransactionsCustomers email address for transaction informationString
emailmarketingCustomers email address for marketingString
emailgeneralCustomers email address for general communicationString
abnAustralian ABN numberString
gstGST numberString
nzbnNew Zealand NZBN NumberString
deletedateDate this customer was deleteed in the system.DateTime
externalidA site specific external Id, used when a link to another systems id is requiredString
myobcontactidString
languagelistComma seperated list of languages for this customerString
addressComplete multi line addressString
accounttermsCredit terms to be applied if creating an account for this customer
accountcreditlimitCredit limit to be applied if creating an account for this customer
lastsaledtDate/time of last completed sale to this customer
lastsaleageElapsed days since last completed sale to this customer
lastsaleidLast Sale Id number
lifetimespendTotal revenue from customer for all timeMoney/Currency
stopcreditSet to true if this customer is on stop credit.
u_invoicefrequency
prepay
u_accountstatus