问题很简单,如何通过REST API Magento 2通过Simple产品获取可配置产品?
我正在使用以下调用来获取简单的产品:
http://127.0.0.1/magento2/index.php/rest/V1/products/prdConfig-RED
谢谢
问题很简单,如何通过REST API Magento 2通过Simple产品获取可配置产品?
我正在使用以下调用来获取简单的产品:
http://127.0.0.1/magento2/index.php/rest/V1/products/prdConfig-RED
谢谢
1 回答
我创建了一个新模块,它接受子产品ID作为参数,并返回父产品ID和其他属性,如名称,缩略图....
registeration.php
等/ module.xml
等/ di.xml
等/ webapi.xml
API / ChildThumbnailManagementInterface.php
型号/ ChildThumbnailManagement.php