Delete contact information

When you delete a contact’s profile to comply with the European Union General Data Protection Regulation (GDPR) right to erasure, you must also remove personal information about the contact that appears in orders and other items, such as purchase lists.

This section applies to both OSF and Storefront Classic. This section applies to Open Storefront Framework (OSF) and Storefront Classic.

You should redact these account-based commerce items before deleting the contact’s profile.

This section describes how to prepare for deleting a contact’s profile and delete or redact account-based commerce items that contain the contact’s personal information. See Delete shopper information for information about deleting profiles for contacts, redacting orders, and redacting registration requests.

Delete purchase lists as an agent or administrator

Purchase lists (personal or shared) let shoppers quickly access frequently purchased items. If a contact has created (and possibly shared) purchase lists, delete them before you delete the contact’s profile. You can delete purchase lists in the Commerce Agent Console or with the Agent API. Keep in mind the following:

  • You (the Administrator) should ask the person to delete any purchase lists she created, before you delete their profile.
  • The Commerce Agent Console or the Agent API can be used to delete the list even if the purchase list is shared.
  • When a shared purchase list is deleted, the recipients of a shared list do not receive an email notification.
  • To delete a purchase list in the Agent Console, find the contact’s profile page and click the Purchase Lists tab. See View customer results in Search for customers for more information.
  • To delete a purchase list with the Agent API, use the deletePurchaseList endpoint. (If for business reasons you do not want to delete purchase lists, you can redact them instead.) See Delete or redact purchase lists in Delete shopper information for more information.

See Enable Purchase Lists for details about purchase lists and shared purchase lists.

Prepare to delete the profile for an approver

The order approvals feature for account-based storefronts lets administrators enable order approvals for an account and specify a purchase limit. When a contact within the account creates an order that exceeds the purchase limit, the order is sent to an approver for confirmation before it is submitted.

If a contact is assigned the Approver role, they can approve orders for their account. Before you delete the profile for a contact who is an approver, perform the following tasks:

  • Remove the Approver role from the contact for all accounts before deleting the profile. (A contact’s profile cannot be deleted if the contact has the Approver role for any account.) See Manage approvers for an account for more information.

Important: Make sure each account still has at least one approver left. You cannot remove the Approver role from the last approver on the account or deactivate the last approver on the account if there are orders pending approval or the order approval feature is enabled.

  • Use the Admin API to remove the approver’s ID from all orders they approved using the Admin API. See Delete an approver in Delete shopper information for more information.

Deactivate scheduled orders

Scheduled orders let shoppers create an order and a schedule that determines the frequency used to fill the order in the future. If a contact has created scheduled orders, deactivate them before you delete the contact’s profile so that the orders will no longer be placed. Once scheduled orders are deactivated, you can either delete or redact them. See Delete or redact scheduled orders in Delete shopper information for more information.

You can deactivate scheduled orders in the Commerce Agent Console or with the Agent API:

  • To deactivate a scheduled order in the Agent Console, find the contact’s profile page and click the Scheduled Orders tab. See Schedule an order in Understand punchout orders for more information.
  • To deactivate a scheduled order with the Agent API, use the updateScheduledOrder endpoint. See Understand Extension Features for details about using the REST APIs.

See Create Scheduled Orders for details about scheduled orders.