Filter - quick help appriciated

hi folks,

i need to be able to filter a query on productvariants,i just cant figure it out.

i know this isnt the right to way to design the query but it kind of how what i need

i need need be able to query the inventory using a number variant Id.

any help would be so apprica

{
productVariants(query: {id: {in: [“1”, “2”]}}) {
id
title
}
}