0

I am trying to get the value of product searchCriteria in the custom module.

By using that value I need to add some data in response API

@return \Magento\Catalog\Api\Data\ProductInterface

Now custom module totally overrides v1/products/ API.

How can I include custom module value in this return type @return \Magento\Catalog\Api\Data\ProductInterface

2
  • Follow this link : bit.ly/3lvda6m Commented Oct 12, 2020 at 12:51
  • thank you @RohanHapani. I want to display before items start. Not for every product.
    – user_new
    Commented Oct 12, 2020 at 13:21

0

Your Answer

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

Browse other questions tagged or ask your own question.