How to add attributes include_in_menu url_key in "/V1/categories/" api response
Hi @raghu1045,
Using this:
http://www.yourdomain.com/rest/V1/categories/3
You will get detailed information about your category. Something like:
stdClass Object ( [id] => 3 [parent_id] => 2 [name] => My sample category [is_active] => 1 [position] => 1 [level] => 2 [children] => [created_at] => 2016-01-27 02:15:36 [updated_at] => 2016-01-27 02:15:36 [path] => 1/2/3 [available_sort_by] => Array ( ) [include_in_menu] => 1 [custom_attributes] => Array ( [0] => stdClass Object ( [attribute_code] => display_mode [value] => PRODUCTS ) [1] => stdClass Object ( [attribute_code] => is_anchor [value] => 1 ) [2] => stdClass Object ( [attribute_code] => path [value] => 1/2/3 ) [3] => stdClass Object ( [attribute_code] => children_count [value] => 0 ) [4] => stdClass Object ( [attribute_code] => custom_use_parent_settings [value] => 0 ) [5] => stdClass Object ( [attribute_code] => custom_apply_to_products [value] => 0 ) [6] => stdClass Object ( [attribute_code] => url_key [value] => my-sample-category ) [7] => stdClass Object ( [attribute_code] => url_path [value] => my-sample-category ) ) )
(That's the json decoded result)