An Articles for the GraphQL in Magento 2.
From the Magento 2.3 and Higher Version, Out of the box, GraphQL Feature will be available in Native installation. GraphQL is the Type of API for the front end UI with a Headless Approach.
3x Magento Master
An Articles for the GraphQL in Magento 2.
From the Magento 2.3 and Higher Version, Out of the box, GraphQL Feature will be available in Native installation. GraphQL is the Type of API for the front end UI with a Headless Approach.
Native Magento comes with a lot of REST APIs for different Entities like Product, Order, Customer, and other APIs.
I want to give a demo for updating bulk products using rest API in Magento 2.
By Default Native Magento doesn’t provide Bulk Product Update API. You need to call REST API to iterate over a loop. At a time you can update only a single product.
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.