Reset Customer

Removes all B2B-related data from customers and deletes all employees.

bin/console b2b:reset:customer

Complete rollback of B2B features - resets customers to standard state.

Safety Features:

  • Requires explicit database backup confirmation

  • Cannot be undone without backup

Actions Performed:

  1. Resets all customer custom fields:

    • b2b_platform_accessfalse

    • b2b_sales_representativefalse

    • b2b_supervisorfalse

  2. Deletes all employee records

triangle-exclamation

Last updated

Was this helpful?