Magento 2 get region id from state code.
Magento’s region ID’s are internal primary keys on the database that don’t mean anything to the rest of the world. two digit state codes, such as MN or AL are a universal region identifier. I had to import customers from an external ERP into Magento 2. There might be a way to set a region…