When I do GET /rest/V1/products/prodID
, in response (custom_attributes field) I have
{
"attribute_code": "category_ids",
"value": [
"2",
"3",
"20"
]
}
but if i do GET /rest/V1/products?searchCriteria
,
and get product list, "custom_attributes" don't have "attribute_code": "category_ids"
what can i do for have "category_ids" in magento rest api response?
extension_attributes
path to add it to the correct controller. See here as an example: atwix.com/development/…<group name="catalog_product"><attribute name="category_ids" /></group>