Migrate existing customers
Interactive migration tool to convert regular Shopware customers to B2B customers.
bin/console b2b:migrate:customersStep-by-step migration wizard for enabling B2B features for existing customers.
Interactive Prompts:
Database Backup Confirmation - Required safety check
Create First Employee - Automatically creates admin employee from customer data
Company Field Filter - Only migrate customers with filled company field
Customer Group Filter - Migrate specific customer groups (semicolon-separated)
Sales Representative Domain - Mark customers with specific email domain as sales reps
Migration Steps:
Sets
b2b_sales_representativecustom field for domain-matched customersSets
b2b_platform_accesscustom field for eligible customersProcesses customer group-based migrations
Optionally creates first employee with admin rights
Always backup database before running this command.
Last updated
Was this helpful?