I need to get the region name based on ZIP/Postal code. My code is below but its not working. Can anyone please help to get the region name by zip code?
$postcode = "560100";
$regionCollection = $this->regionCollectionFactory->create();
$regionCollection->addRegionCodeFilter($postcode)->setPageSize(1);
if ($regionCollection->getSize()) {
$region = $regionCollection->getFirstItem();
}
Thanks in Advance!