Data Policies Related Object Types
Data policies
Sample XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<data_policies>
<data_policy guid="FF528121-8B14-4D76-9450-93E51BE80CF8">
<policy_name>Required Registration Personal Details</policy_name>
<retention_period_in_days>365</retention_period_in_days>
<retention_type>FROM_LAST_UPDATE</retention_type>
<segments>
<segment>Global_Data_Policy</segment>
<segment>EU_Data_Policy</segment>
</segments>
<data_points>
<data_point guid="8DDD7943-9876-4811-8387-709C85CA39CE">
<name>Customer first name</name>
<data_location>CUSTOMER_PROFILE</data_location>
<data_key>CP_FIRST_NAME</data_key>
<description_key>Cust Name</description_key>
<removable>false</removable>
</data_point>
<data_point guid="114BBD94-C8A3-4F84-B9E6-687FA1CC60F6">
<name>Customer Billing Address Street1</name>
<data_location>CUSTOMER_BILLING_ADDRESS</data_location>
<data_key>STREET_1</data_key>
<description_key>CBA street 1</description_key>
<removable>false</removable>
</data_point>
<data_point guid="BCB2B170-72B4-452C-AA15-3932823C94F7">
<name>Customer Shipping Address Street1</name>
<data_location>CUSTOMER_SHIPPING_ADDRESS</data_location>
<data_key>PHONE_NUMBER</data_key>
<description_key>CSA phone </description_key>
<removable>false</removable>
</data_point>
<data_point guid="285533E0-CA31-4F85-B500-2C3C7E97D989">
<name>Order Billing Address Last Name</name>
<data_location>ORDER_BILLING_ADDRESS</data_location>
<data_key>LAST_NAME</data_key>
<description_key>Order BA LN</description_key>
<removable>false</removable>
</data_point>
<data_point guid="C7D59F1B-E139-4255-9B72-0EC55C8C93A6">
<name>Order Payment Card Holder Name </name>
<data_location>ORDER_PAYMENT_CARD_HOLDER_NAME</data_location>
<data_key>ORDER_PAYMENT_CARD_HOLDER_NAME</data_key>
<description_key>Order Payment card holder</description_key>
<removable>false</removable>
</data_point>
<data_point guid="A2855440-F7BD-443E-969B-7C198AB10085">
<name>Order data KEY1 </name>
<data_location>ORDER_DATA</data_location>
<data_key>ODATA_KEY1</data_key>
<description_key>Order Payment card holder</description_key>
<removable>false</removable>
</data_point>
</data_points>
<start_date>2018-01-01T10:41:00.367-08:00</start_date>
<end_date>2019-12-31T10:41:00.367-08:00</end_date>
<state>DRAFT</state>
<reference_key>DP12345</reference_key>
<description>Minimum information required for account identification and fraud prevention.</description>
<activities>
<activity>personalization</activity>
<activity>activity</activity>
</activities>
</data_policy>
<data_policy guid="52301DD9-CF90-4A4C-B710-1C97C1C4125F">
<policy_name>Marketing Contact Information</policy_name>
<retention_period_in_days>365</retention_period_in_days>
<retention_type>FROM_LAST_UPDATE</retention_type>
<segments>
<segment>Global_Data_Policy</segment>
<segment>EU_Data_Policy</segment>
</segments>
<data_points>
<data_point guid="114BBD94-C8A3-4F84-B9E6-687FA1CC60F6">
<name>Customer Billing Address Street1</name>
<data_location>CUSTOMER_BILLING_ADDRESS</data_location>
<data_key>STREET_1</data_key>
<description_key>CBA street 1</description_key>
<removable>false</removable>
</data_point>
<data_point guid="BCB2B170-72B4-452C-AA15-3932823C94F7">
<name>Customer Shipping Address Street1</name>
<data_location>CUSTOMER_SHIPPING_ADDRESS</data_location>
<data_key>PHONE_NUMBER</data_key>
<description_key>CSA phone </description_key>
<removable>false</removable>
</data_point>
<data_point guid="675C9221-40A0-40DB-8125-E67ED450119C">
<name>Order Gift Certificate email</name>
<data_location>ORDER_GIFT_CERTIFICATE</data_location>
<data_key>RECIPIENT_EMAIL</data_key>
<description_key>Order GC email</description_key>
<removable>false</removable>
</data_point>
<data_point guid="285533E0-CA31-4F85-B500-2C3C7E97D989">
<name>Order Billing Address Last Name</name>
<data_location>ORDER_BILLING_ADDRESS</data_location>
<data_key>LAST_NAME</data_key>
<description_key>Order BA LN</description_key>
<removable>false</removable>
</data_point>
</data_points>
<start_date>2018-01-01T10:41:00.367-08:00</start_date>
<end_date>2019-12-31T10:41:00.367-08:00</end_date>
<state>ACTIVE</state>
<reference_key>DP12346</reference_key>
<description>Profile contact and address information used for internal marketing purposes.</description>
</data_policy>
<data_policy guid="712DCF0E-4E24-4F64-A822-5F6B8FEF5071">
<policy_name>Saved Addresses</policy_name>
<retention_period_in_days>365</retention_period_in_days>
<retention_type>FROM_CREATION_DATE</retention_type>
<segments>
<segment>EU_Data_Policy</segment>
</segments>
<data_points>
<data_point guid="114BBD94-C8A3-4F84-B9E6-687FA1CC60F6">
<name>Customer Billing Address Street1</name>
<data_location>CUSTOMER_BILLING_ADDRESS</data_location>
<data_key>STREET_1</data_key>
<description_key>CBA street 1</description_key>
<removable>false</removable>
</data_point>
<data_point guid="BCB2B170-72B4-452C-AA15-3932823C94F7">
<name>Customer Shipping Address Street1</name>
<data_location>CUSTOMER_SHIPPING_ADDRESS</data_location>
<data_key>PHONE_NUMBER</data_key>
<description_key>CSA phone </description_key>
<removable>false</removable>
</data_point>
<data_point guid="285533E0-CA31-4F85-B500-2C3C7E97D989">
<name>Order Billing Address Last Name</name>
<data_location>ORDER_BILLING_ADDRESS</data_location>
<data_key>LAST_NAME</data_key>
<description_key>Order BA LN</description_key>
<removable>false</removable>
</data_point>
</data_points>
<start_date>2018-01-01T10:41:00.367-08:00</start_date>
<end_date>2019-12-31T10:41:00.367-08:00</end_date>
<state>ACTIVE</state>
<reference_key>DP12347</reference_key>
<description>Addresses saved in the profile for convenience and expedited checkout.</description>
</data_policy>
<data_policy guid="EC40625C-5DED-4ED9-A9C7-5DE496C4012C">
<policy_name>Order Information</policy_name>
<retention_period_in_days>1826</retention_period_in_days>
<retention_type>FROM_CREATION_DATE</retention_type>
<segments>
<segment>EU_Data_Policy</segment>
</segments>
<data_points>
<data_point guid="114BBD94-C8A3-4F84-B9E6-687FA1CC60F6">
<name>Customer Billing Address Street1</name>
<data_location>CUSTOMER_BILLING_ADDRESS</data_location>
<data_key>STREET_1</data_key>
<description_key>CBA street 1</description_key>
<removable>false</removable>
</data_point>
<data_point guid="BCB2B170-72B4-452C-AA15-3932823C94F7">
<name>Customer Shipping Address Street1</name>
<data_location>CUSTOMER_SHIPPING_ADDRESS</data_location>
<data_key>PHONE_NUMBER</data_key>
<description_key>CSA phone </description_key>
<removable>false</removable>
</data_point>
<data_point guid="BBC6880C-BBDB-457C-B585-8D4C952A0446">
<name>Cart Gift Certificate</name>
<data_location>CART_GIFT_CERTIFICATE</data_location>
<data_key>giftCertificate.senderName</data_key>
<description_key>Cart GC sender name</description_key>
<removable>false</removable>
</data_point>
<data_point guid="BDE3DFF1-09EA-48EB-A8B0-9FE40B8E7A88">
<name>Order Gift Certificate</name>
<data_location>ORDER_GIFT_CERTIFICATE</data_location>
<data_key>SENDER_NAME</data_key>
<description_key>Order GC sender name</description_key>
<removable>false</removable>
</data_point>
<data_point guid="675C9221-40A0-40DB-8125-E67ED450119C">
<name>Order Gift Certificate email</name>
<data_location>ORDER_GIFT_CERTIFICATE</data_location>
<data_key>RECIPIENT_EMAIL</data_key>
<description_key>Order GC email</description_key>
<removable>false</removable>
</data_point>
<data_point guid="285533E0-CA31-4F85-B500-2C3C7E97D989">
<name>Order Billing Address Last Name</name>
<data_location>ORDER_BILLING_ADDRESS</data_location>
<data_key>LAST_NAME</data_key>
<description_key>Order BA LN</description_key>
<removable>false</removable>
</data_point>
<data_point guid="F8629964-F45B-414E-BA79-5EC1B2CA6F47">
<name>Order IP Address </name>
<data_location>ORDER_IP_ADDRESS</data_location>
<data_key>ORDER_IP_ADDRESS</data_key>
<description_key>Order IP address</description_key>
<removable>false</removable>
</data_point>
<data_point guid="C7D59F1B-E139-4255-9B72-0EC55C8C93A6">
<name>Order Payment Card Holder Name </name>
<data_location>ORDER_PAYMENT_CARD_HOLDER_NAME</data_location>
<data_key>ORDER_PAYMENT_CARD_HOLDER_NAME</data_key>
<description_key>Order Payment card holder</description_key>
<removable>false</removable>
</data_point>
<data_point guid="A2855440-F7BD-443E-969B-7C198AB10085">
<name>Order data KEY1 </name>
<data_location>ORDER_DATA</data_location>
<data_key>ODATA_KEY1</data_key>
<description_key>Order Payment card holder</description_key>
<removable>false</removable>
</data_point>
</data_points>
<start_date>2018-01-01T10:41:00.367-08:00</start_date>
<end_date>2019-12-31T10:41:00.367-08:00</end_date>
<state>DISABLED</state>
<reference_key>DP12347</reference_key>
<description>Addresses and contact information required to process orders and for legal auditing purposes.</description>
</data_policy>
</data_policies>
Customer Consents
Sample XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<customer_consents>
<customer_consent guid="12422">
<data_policy_guid>45678</data_policy_guid>
<action>GRANTED</action>
<consent_date>2018-02-07T02:41:00-08:00</consent_date>
<customer_guid>guid_Jay_Johnson</customer_guid>
</customer_consent>
<customer_consent guid="64343">
<data_policy_guid>90743</data_policy_guid>
<action>REVOKED</action>
<consent_date>2018-01-27T02:41:00-08:00</consent_date>
<customer_guid>guid_Jay_Johnson</customer_guid>
</customer_consent>
<customer_consent guid="65433">
<data_policy_guid>75333</data_policy_guid>
<action>GRANTED</action>
<consent_date>2018-01-07T02:41:00-08:00</consent_date>
<customer_guid>guid_Jay_Johnson</customer_guid>
</customer_consent>
</customer_consents>