Magento的2 REST API V1 /产品缺少扩展属性

问题描述:

我调用REST API V1 /产品从Magento的2店购买的产品列表中Magento的2 REST API V1 /产品缺少扩展属性

请求:

http://{myMagentohost}/Magento/index.php/rest/V1/products?searchCriteria[currentPage]=1&searchCriteria[pageSize]=1 

响应:

{"items": [ { "id": 1,"sku": "24-MB01","name": "Joust Duffle Bag","attribute_set_id": 15,"price": 34,"status": 1,"visibility": 4,"type_id": "simple","created_at": "2017-06-13 09:36:11","updated_at": "2017-06-13 09:36:11","product_links": [{"sku": "24-MB01", "link_type": "upsell","linked_product_sku": "24-MB03","linked_product_type": "simple","position": null,"extension_attributes": []},{"sku": "24-B01","link_type": "upsell","linked_product_sku": "24-WB04","linked_product_type": "simple","position": null,"extension_attributes": []}],"options": [],"tier_prices": [],"custom_attributes": [{"attribute_code": "description","value": "<p>The sporty Joust Duffle Bag can't be beat - ot in the gym, not on the luggage carousel, not anywhere. Big enough to haul a basketball or soccer ball and some sneakers with plenty of room to spare, it's ideal for athletes with places to go.<p>\n<ul>\n<li>Dual top handles.</li>\n<li>Adjustable shoulder strap.</li>\n<li>Full-length zipper.</li>\n<li>L 29\" x W 13\" x H 11\".</li>\n</ul>"},{"attribute_code": "image","value": "/m/b/mb01-blue-0.jpg"},{"attribute_code": "small_image","value": "/m/b/mb01-blue-0.jpg"},{"attribute_code": "thumbnail","value": "/m/b/mb01-blue-0.jpg"},{"attribute_code": "url_key","value": "joust-duffle-bag"}]}],"search_criteria": {"filter_groups": [],"page_size": 1,"current_page": 1},"total_count": 2046} 

现在根据Magento 2 Rest API swagger文档, catalogProductRepositoryV1,GET/V1/products在响应时显示了extension_attrib utes但是当我真的从postman调用这个api extension_attributes丢失。

我搜索它,但没有适当的解决方案可用。

任何人都可以帮忙吗?

谢谢!

我们正在使用M2Ent Cloud Edt,并且我们有一个确认这是REST API问题的Magento支持的开放票证。为了规避,我们首先通过使用分页的V1 /产品(快速地作为60s超时),然后调用V1/products/{sku}来获得所有细节(其正确地包括extension_attributes节点

他们没有给我们一个ETA的修复