The default query params for the StoreFront GraphQL API for the products are as follow:
available_for_sale
created_at
product_type
tag
title
updated_at
variants.price
vendor
There is no weight there, so no there is no way to achieve this with the StoreFront API.
The best approach will be to create a smart collection with the proper conditions to meet what you are looking for (since the collection allows for weight conditions) and make an ajax request to it to get the products.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…