---
schema_version: "1"
id: 81059eff63cad4fe9faca6cc4cc2474135bc45697b693efc2bb6127a00a85315
title: "Data Deletion: Delete Personal Data in B2C Commerce"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_data_deletion.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_data_deletion.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 91fc667c50903a2fe9ad08abed4eb1dead9904e69c8ae1e40222297697bece68
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:
  - Commerce
  - B2C Commerce
release: "264"
---
# Data Deletion: Delete Personal Data in B2C Commerce

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.

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 it. 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>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d228150e55">Product</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d228150e58">Common Shopper Request</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d228150e61">Actions to Consider</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d228150e64">Things to Consider</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce</td>

            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e58 ">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="d228150e61 ">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="d228150e64 ">
              <p>When you delete a customer, you delete certain associated data. See
                <a href="https://help.salesforce.com/s/articleView?id=cc.b2c_deleting_customers.htm&amp;release=264.0.0&amp;type=5" title="Delete one or more customers.">Deleting a Customer</a>.
              </p>
              <p>All other data deletion requires
                additional steps, as noted in this table.</p>
              <p style="margin-bottom:0;">See <a href="https://help.salesforce.com/s/articleView?id=cc.b2c_local_data_storage.htm&amp;release=264.0.0&amp;type=5" title="B2C Commerce uses browser cookies and session storage objects to store and track information.">Browser-Based Local Data
                  Storage</a> to consider whether to inform the shopper of any
                browser cookies stored on their computer.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce</td>

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

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e61 ">
              <a href="https://help.salesforce.com/s/articleView?id=cc.b2c_delete_orders.htm&amp;release=264.0.0&amp;type=5" title="You can delete a B2C Commerce order that has an order status of Created, Canceled, Replaced, or Failed, or that has an export status of Exported, and that has no associated replacement order. Deleting an order doesn't delete the data stored in Salesforce Order Management or in any external order management system.">Delete an
                order</a>.
            </td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e64 ">Set up automatic order removal after a set number of days using the
              <a href="https://help.salesforce.com/s/articleView?id=cc.b2c_order_preferences.htm&amp;release=264.0.0&amp;type=5" title="Select how orders are processed with Salesforce B2C Commerce.">Order
                Retention</a> setting. Always keep certain data to fulfill obligations
              under tax and other laws.
            </td>

          </tr>
          <tr class="">
            <td data-label="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce</td>

            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e58 ">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="d228150e61 ">
              <a href="https://help.salesforce.com/s/articleView?id=cc.b2c_configure_basket_preferences.htm&amp;release=264.0.0&amp;type=5" title="Configurable basket settings include persistence across B2C Commerce shopper sessions, the treatment of duplicate product line items, and the maximum number of product line items per basket. These preferences are site-specific, and a customized storefront doesn’t necessarily evaluate them.">Set basket lifetime for unregistered guests</a>.
            </td>

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

          </tr>
          <tr class="">
            <td data-label="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce</td>

            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e58 ">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="d228150e61 ">
              <a href="https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-business-objects.html#custom-objects" target="_blank"> Delete custom objects.</a>
            </td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e64 ">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="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce</td>

            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e58 ">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="d228150e61 ">
              <a href="https://help.salesforce.com/s/articleView?id=cc.b2c_creating_gift_certificates.htm&amp;release=264.0.0&amp;type=5" title="Create an individual gift certificate in Business Manager and set its value and status. Because you can't stage gift certificates, create and manage them in your Production environment. After a certificate is created, its value is fixed and can only be redeemed.">Remove
                customer data from gift certificates</a>.
            </td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e64 ">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 can refund the remaining
              balance.</td>

          </tr>
          <tr class="">
            <td data-label="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce</td>

            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e58 ">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="d228150e61 ">
              <a href="https://help.salesforce.com/s/articleView?id=cc.b2c_viewing_coupon_redemptions.htm&amp;release=264.0.0&amp;type=5" title="View coupon redemptions to track and manage who redeems coupons and when. You can search and analyze redemption data across all coupons, or view a coupon-specific redemption. You can also remove a shopper's email address from redeemed coupons. A redemption is tied to an order. The redemption is deleted if a shopper deletes their order. Deleted coupons and codes don't affect redeemed coupons.">Delete email addresses from redeemed coupons</a>.
            </td>

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

          </tr>
          <tr class="">
            <td data-label="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce</td>

            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e58 ">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="d228150e61 ">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="d228150e64 ">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="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce</td>

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

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e61 ">Consider if a third-party integration, built by the customer or
              otherwise enabled in B2C Commerce, 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="d228150e64 ">Consider building customizations to pass the request on to
              vendors.</td>

          </tr>
          <tr class="">
            <td data-label="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce</td>

            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e58 ">I want to create a button on my website to receive and honor customer
              requests not to sell their data.</td>

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

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e64 ">Consider, through customization, how to track the request and your
              responses to them.</td>

          </tr>
          <tr class="">
            <td data-label="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">Commerce Order Management</td>

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

            <td data-label="Actions to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e61 ">
              Configure the nightly process that deletes
              personal data.
            </td>

            <td data-label="Things to Consider" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e64 ">
              <p>When one record is derived from another record, delete the derived
                record before the original record. This rule affects all summary objects.
                For example, when you delete an order, delete the corresponding order
                summary and any related change orders first. </p>
              <p style="margin-bottom:0;">Deleting a record doesn’t
                delete records that belong to it. For example, when you delete an order,
                delete its order items first. Also, remember to delete the order item
                summaries before the order items, because the summaries are derived from
                the underlying order item records.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Product" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e55 ">B2C Commerce </td>

            <td data-label="Common Shopper Request" class="slds-cell-wrap" style="vertical-align:top;" headers="d228150e58 ">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="d228150e61 ">
              <a href="https://help.salesforce.com/s/articleView?id=cc.b2c_local_data_storage.htm&amp;release=264.0.0&amp;type=5" title="B2C Commerce uses browser cookies and session storage objects to store and track information.">Browser-Based Local
                Data Storage</a>
            </td>

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

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