CUSTOMER_PROFILE Data Keys

CUSTOMER_PROFILE data keys are found in the TCUSTOMER database table, prefixed with CP_:

CP_FIRST_NAME

CP_LAST_NAME

CP_EMAIL

CP_PREF_LOCALE

CP_PREF_CURR

CP_ANONYMOUS_CUST

CP_PHONE

CP_FAX

CP_GENDER

CP_COMPANY

CP_DOB

CP_HTML_EMAIL

CP_BE_NOTIFIED

CP_BUSINESS_NUMBER

CP_TAX_EXEMPTION_ID

Additionally, any custom customer profile attribute added in the Elastic Path Admin Console can be used as a data key.

All data points values can be removed, but removing the following data key values can result in HTTP errors presented to the end user. If you need to remove the following data key values, ensure that any errors are properly handled:

CP_FIRST_NAME

CP_LAST_NAME

CP_EMAIL

CART_GIFT_CERTIFICATE Data Keys

CART_GIFT_CERTIFICATE data keys are found in the TCARTITEMMODIFIER database table, prefixed with KEY_:

KEY_RECIPIENT_EMAIL

KEY_RECIPIENT_NAME

KEY_SENDER_NAME

KEY_CODE

KEY_SENDER_EMAIL

KEY_PRODUCT_TYPE

KEY_GUID

ORDER_GIFT_CERTIFICATE Data Keys

ORDER_GIFT_CERTIFICATE data keys are found in the TCARTITEMMODIFIER database table. Any value in this table can be used as a data key.

ORDER_DATA Data Keys

ORDER_DATA is provided as a data location for additional data required by your business that needs to be associated with the order.

To provide a data key value to the ORDER_DATA data location, call the com.elasticpath.domain.order.Order interface's Order.setFieldValue() method. The values provided to this method are stored in the TORDERDATA table. Any value in the ITEM_KEY column can be used as a data key.