Fetching Products Example
Here is an example query on how you can fetch products with the IDs prod123 and prod124. It returns id, name of the products and the current stock.
query getProduct{
productConnection(filter: {ids: ["prod123", "prod124"]}, sort:{field: ID , direction:ASC} )
{
edges{
node{
id
name{
language
value
}
inventories{
stock
}
}
}
}
}