How to fetch custom category attribute value in GraphQL Magento 2?

You can fetch Custom User-defined category attribute value in the category GraphQL easily.

Let’s say, You have created a category attribute called, category_seo

You can get the category attribute value in Magento GraphQL in the given way,

Run categories Query, Continue reading “How to fetch custom category attribute value in GraphQL Magento 2?”

How to update custom category attribute via REST API V1/categories/:id Magento?

If you ever created a category custom attribute for your own business requirement and want to update its value using REST API, then the given article is best suitable for you.

Let’s Assume you have created a Custom Category attribute with boolean type in the Magento admin panel.

Custom Category Attribute code: is_featured Continue reading “How to update custom category attribute via REST API V1/categories/:id Magento?”

How to get Sub Category details by parent id Magento 2?

Get Sub Category (Child category) Collection details by the Parent Category id in Magento 2.

Using Parent Category Id, You can explore all the children category with deep level Or You can retrieve id by Current Category

When you check the Magento Open source sample data, You can see Men Category has direct two-child categories, Tops, and Bottoms at level 3 and both have other subcategories (Jacket, Tees, Pants, Shorts, etc) at level 4. Continue reading “How to get Sub Category details by parent id Magento 2?”