Customer personal information reference (version 1.x)
Use the following dataflow diagrams and database entity mappings for reference when developing compliance programs for privacy regulations such as:
Dataflow diagrams
The dataflow diagrams show the types of data that customers and administrators can enter and retrieve on the storefront and Admin.
Frontend data entry points
A user can enter customer, address, and payment information when registering for an account, during checkout, and similar events.
Frontend data access points
Commerce loads customer information when the customer logs in and views several different pages or checks out.
Backend data entry points
A merchant can enter customer, address, and payment information from the Admin to create a customer or order.
Backend data access points
Commerce loads customer information when a merchant views several types of grids, clicks on a grid to see detailed information, and performs various other tasks.
Database entities
Magento 1 stores customer information in customer, sales, and other database tables.
Customer data
Magento 1 stores customer information in the customer_entity and customer_address_entity tables. Both of these tables have several reference tables that can contain custom customer attributes.
customer_entity and reference tables
The following columns in the customer_entitytable contain customer information:
emailThese tables reference customer_entity and can contain custom customer attributes:
customer_entity_datetimevaluecustomer_entity_decimalvaluecustomer_entity_intvaluecustomer_entity_textvaluecustomer_entity_varcharvaluecustomer_address_entity and reference tables
The following tables reference customer_address_entity and can contain custom customer attributes:
customer_address_entity_datetimevaluecustomer_address_entity_decimalvaluecustomer_address_entity_intvaluecustomer_address_entity_textvaluecustomer_address_entity_varcharvalueOrder data
The sales_flat_order and related tables contain the customer’s name, billing and shipping addresses, and related information.
sales_flat_order table
The following columns in the sales_order table contain customer information:
customer_idcustomer_emailcustomer_firstnamecustomer_gendercustomer_lastnamecustomer_middlenamecustomer_prefixcustomer_suffixcustomer_taxvatremote_ipsales_flat_order_address table
The sales_flat_order_address table contains the customer’s address.
customer_idfaxregionpostcodelastnamestreetcityemailtelephonefirstnameprefixsuffixmiddlenamecompanyvat_idsales_flat_order_grid table
The following columns in the sales_flat_order_grid table contain customer information:
customer_idshipping_namebilling_namesales_flat_order_payment table
The following columns in the sales_flat_order_payment table contain customer information:
cc_exp_monthcc_ss_start_yearecheck_bank_nameecheck_typecc_ss_start_monthcc_ownercc_exp_yearecheck_routing_numberecheck_account_nameQuote data
Quotes contain a customer’s name, email, address, and related information.
sales_flat_quote table
The following columns in the sales_flat_quote table contain customer information:
customer_idcustomer_tax_class_idcustomer_group_idcustomer_emailcustomer_prefixcustomer_firstnamecustomer_middlenamecustomer_lastnamecustomer_suffixcustomer_dobcustomer_noteremote_ipcustomer_gendersales_flat_quote_address table
The following columns in the sales_flat_quote_address table contain customer information:
emailprefixfirstnamemiddlenamelastnamesuffixcompanystreetcityregionpostcodefaxsales_flat_quote_payment table
The sales_flat_quote_payment table includes credit card information and other transactional information.
cc_last_4cc_ownercc_exp_monthcc_exp_yearcc_ss_ownercc_ss_start_monthcc_ss_start_yearArchive data
The following tables and columns contain customer information:
enterprise_sales_creditmemo_grid_archivebilling_nameenterprise_sales_invoice_grid_archivebilling_nameenterprise_sales_order_grid_archivebilling_nameenterprise_sales_order_grid_archivecustomer_identerprise_sales_order_grid_archiveshipping_nameenterprise_sales_shipment_grid_archiveshipping_nameSales data
The following tables and columns contain customer information:
sales_flat_creditmemo_gridbilling_namesales_flat_invoice_gridbilling_nameRMA data
The following RMA tables and columns contain customer information:
enterprise_rmacustomer_custom_emailenterprise_rma_gridcustomer_identerprise_rma_gridcustomer_nameMiscellaneous data
The following tables and columns contain customer information:
core_email_queue_recipientsrecipient_emailcore_email_queue_recipientsrecipient_namecustomer_flowpasswordemailcustomer_flowpasswordipenterprise_giftregistry_personemailenterprise_giftregistry_personfirstnameenterprise_giftregistry_personlastnameenterprise_giftregistry_personmiddlenameenterprise_invitationcustomer_identerprise_invitationemailenterprise_invitationreferral_identerprise_reminder_rule_couponcustomer_identerprise_reminder_rule_couponemails_failedenterprise_scheduled_operationsemail_receiverenterprise_scheduled_operationsemail_sendergift_messagecustomer_idgift_messagerecipientgift_messagesendernewsletter_subscribercustomer_idnewsletter_subscribersubscriber_emailpersistent_sessioncustomer_idpersistent_sessioninfopoll_votecustomer_idpoll_voteip_addressrating_option_votecustomer_idrating_option_voteremote_iprating_option_voteremote_ip_longsend_friend_logipOther tables that reference Customer:
catalog_compare_itemdownloadable_link_purchasedenterprise_customerbalanceenterprise_customersegment_customerenterprise_giftregistry_entityenterprise_reminder_rule_logenterprise_rewardlog_customerlog_visitor_onlineoauth_tokenproduct_alert_priceproduct_alert_stockreport_compared_product_indexreport_viewed_product_indexreview_detailsales_billing_agreementsales_flat_shipmentsales_recurring_profilesalesrule_coupon_usagesalesrule_customertagtag_relationwishlist