Customer ID for Magento 2
SoftwareSilo Customer ID adds a separate customer number to Magento customer accounts. Magento can assign the number automatically, format it with a prefix and zero padding, accept it as an alternative storefront login and carry it onto registered-customer orders.
The extension uses the customer attribute customer_id. This is separate from Magento's internal numeric customer entity ID and from the customer's email address.

What the extension does
- Adds an editable Customer ID field to the Magento customer form and grid.
- Assigns the next free number when automatic numbering is enabled.
- Supports formats such as
1001,CUST-1001orB2B-001001. - Supports a fixed numeric range such as
1000-2499. - Prevents the same customer ID from being assigned twice within one website.
- Lets customers sign in with either their email address or customer ID.
- Optionally displays the number on the customer account dashboard.
- Copies the number to registered-customer orders and the sales order grid.
- Makes the value available through Magento's existing customer and order service contracts.
Important boundaries
Customer ID does not create customer-group-specific number ranges, year-based templates or a separate number for each store view. It also does not certify an accounting or compliance process. If an ERP owns the customer number, decide which system is authoritative before enabling automatic assignment in Magento.
Start here
- Install Customer ID
- Configure numbering and display
- Choose a number format
- Plan website ranges
- Enable customer ID sign-in
- Use customer IDs in orders
- Use Magento APIs
- Troubleshoot common issues
- FAQ
Configuration is under Stores > Configuration > MageB2B > Customer ID.