in magento 2.1:

Categories Rest api "rest/V1/categories" returns data as follows

"id": 41,
          "parent_id": 3,
          "name": "Bakery",
          "is_active": true,
          "position": 4,
          "level": 2,
          "product_count": 0,
    "children_data": [],

how to modify it to return the category image and description ?

2 Answers 2


If you add an image to the category under Content section of it, you'd get the image details under custom_attributes of your response.

Magento CMS

Here's my response for a particular category id rest/V1/categories/:id enter image description here


custom_attributes in get image path enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.