---
schema_version: "1"
id: 7a5389396373afe337c599c273655860333e54a92dfe79b322249055a5f154c8
title: Data Deletion for B2C Commerce and Commerce Marketplace
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/data_deletion_commerce.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.data_deletion_commerce.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9529bd2e0a9b4cb4f31bcdca9e3f5516c1e1991adf4e7bda1ee5a656946d17b4
description: Delete personal data when it's necessary to comply with various data protection and privacy regulations. We give you examples of common requests and things to consider. That way, you can determine a plan of action for complying with the regulations that apply to you.
products:
  - Security
  - Cross Cloud
release: "264"
---
# Data Deletion for B2C Commerce and Commerce Marketplace

Delete personal data when it's necessary to comply with various data protection and privacy regulations. We give you examples of common requests and things to consider. That way, you can determine a plan of action for complying with the regulations that apply to you.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: All Editions</td></tr></tbody></table>

Many data protection and privacy regulations can require you to delete shoppers’ personal data when customers request it, or when it’s no longer necessary to keep. We’ve listed a few of the regulations that are important to many companies collecting and processing their customers’ data.

- General Data Protection Regulation (GDPR), European Union
- Personal Information Protection Act (PIPA), Japan
- Privacy Act, Australia
- Personal Information Protection and Electronic Documents Act (PIPEDA), Canada

If you have shoppers who want the data that you've collected on them deleted, or to opt-out of certain types of data sharing, review these common requests and the procedures related to them.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d26303e71">Common Shopper Request</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d26303e74">Actions to Consider</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d26303e77">Things to Consider</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">I want you to delete my data from the system after my account is
              deleted.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 ">Delete all data associated with the customer, as shown in this table.</td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 ">
              <p>When you delete a customer, you delete certain associated data. See <a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/customers/b2c_deleting_customers.html" target="_blank">Deleting Customers</a>.</p>
              <p>All other data
                deletion requires extra steps, as noted in this table.</p>
              <p style="margin-bottom:0;">See <a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/DataProtectionAndPrivacy/LocalDataStorage.html#LocalDataStorage" target="_blank">Browser-Based Local Data Storage</a> to
                consider whether to inform the shopper of any browser cookies that exist on their
                computer.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">I want you to delete my order history.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 "><a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/ordering/b2c_delete_orders.html#DeleteOrders" target="_blank">Delete an order</a></td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 ">Set up automatic order removal after a set number of days using the <a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/admin/b2c_order_preferences.html" target="_blank">Order Retention</a> setting. The shopper may
              need to keep certain data to fulfill their obligations under tax and other
              laws.</td>

          </tr>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">I want you to delete any guest baskets I create.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 "><a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/ordering/b2c_configure_basket_preferences.html" target="_blank">Set basket lifetime for unregistered
                guests</a></td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 "> The system deletes guest baskets after 240 minutes by default.</td>

          </tr>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">I want you to delete any custom object containing my personal data.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 "><a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/custom_objects/b2c_deleting_custom_objects.html" target="_blank">Delete Custom Objects</a></td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 ">The merchant creates and maintains custom objects that can contain personal
              data. Verify this using the Custom Object Editor in Business Manager.</td>

          </tr>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">I want you to delete my personal information from all gift
              certificates.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 "><a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/gift_certificates/b2c_creating_gift_certificates.html" target="_blank">Remove customer data from gift
                certificates</a></td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 ">Gift Certificates contain the email of a recipient. Either remove the
              recipient's email or delete the entire Gift Certificate. If you delete the entire
              Gift Certificate, consider how you will refund the remaining balance.</td>

          </tr>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">I want you to delete my personal information from redeemed coupons.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 "><a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/coupons/b2c_viewing_coupon_redemptions.html" target="_blank">Delete email addresses from redeemed
                coupons</a></td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 ">Remove email addresses from redeemed coupons using the Forget Email
              feature.</td>

          </tr>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">I want you to delete any lingering cookies or data objects.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 ">Instruct customers to delete cookies and objects from their browsers.</td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 ">The process to delete cookies and objects depends on the browser the shopper is
              using. Instruct shoppers to refer to the documentation for their browser.</td>

          </tr>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">One of my shoppers in California asked that we not sell her data to other
              companies.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 ">Consider if a third-party integration, built by the customer or otherwise
              enabled in Commerce Cloud, is within the scope of the request and how you would
              respond. </td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 ">Customers should consider if they need to build customizations to pass on the
              request to vendors.</td>

          </tr>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">I need to create a button on my e-commerce website to receive and honor
              consumer requests to not sell data to other companies.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 ">Customers can create a button with a clear and conspicuous link on their
              website. It is the customer's responsibility to determine whether a button is
              needed. The customer and their implementation partner should build this button and
              any components to address actions described in our Help &amp; Training
              documentation.</td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 ">Customers should consider, through customization,&nbsp; how they can track the
              request and their responses to them.</td>

          </tr>
          <tr class="">
            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e71 ">I want you to delete information stored in my local browser sessions.</td>

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e74 "><a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.dochelp%2FDataProtectionAndPrivacy%2FLocalDataStorage.html" target="_blank">Browser-Based Local Data Storage</a></td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d26303e77 ">Commerce Cloud uses browser cookies and session storage objects to store and
              track information. This information can exist on machines with browsers running
              Commerce Cloud merchant applications, or with browsers accessing websites that run
              on Commerce Cloud.</td>

          </tr>
        </tbody>
      </table>