The headlight for the Xiaomi Mi M365 electric scooter is part of the console assembly and comes with the correct 4" 2-wire harness. As a modular part of the assembly, the headlight is a simple task to replace.
Note: This may also be compatible with M365 clones such as the rental scooters used by Bird, Lyft, Spin, and others.