How to delete Category by REST API magento 2?

You can delete a category with REST API in Magento 2 with rest/V1/categories/:categoryId

Action: DELETE

URL: <WEBSITE_URL>/rest/V1/categories/:categoryId
(Example: https://magento245.test/rest/default/rest/V1/categories/10)
Continue reading “How to delete Category by REST API 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 Category Data by REST API rest/V1/categories/:categoryId Magento?

You can fetch category-related data via REST API by rest/V1/categories/:categoryId in Magento 2.

The Response of the API will be all the necessary data related to the Category with custom attributes also.

Category API will respond only if you have resource permission to access the given role.

Magento_Catalog::categories

Continue reading “How to get Category Data by REST API rest/V1/categories/:categoryId Magento?”