I've an extension attribute on products, declared in the following way:

<attribute code="stock_item" type="Magento\CatalogInventory\Api\Data\StockItemInterface">
        <resource ref="anonymous"/>
    <join reference_table="cataloginventory_stock_item"

And I'd like to filter by the qty attribute greater than zero, and i call :


but I have got an error attribute name invalid

Is there a way to filter this? Am I missing something?

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.