Create a Custom REST API for Bulk product update in Magento 2.

Native Magento comes with a lot of REST API for different Entity like Product, Order, Customer and others API.

I want to give a demo for update bulk product using rest api in Magento 2. By Default Native Magento doesn’t provide Bulk Product Update API. You need to call REST API for each item using the foreach loop. At a time you can update an only single product. Continue reading “Create a Custom REST API for Bulk product update in Magento 2.”

How to get all Regions of Country by country code in magento 2?

In Magento 2 we can get all the regions list by country code. We can get all the regions of the specific country by Country code.

Magento\Directory\Model\Country is used to getting all the regions list by the country code. Continue reading “How to get all Regions of Country by country code in magento 2?”