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 – Rohan Hapani Oct 12 '20 at 12:51
  • thank you @RohanHapani. I want to display before items start. Not for every product. – user_new Oct 12 '20 at 13:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.