Query Product by Barcode

Hello,
Is it possible to query the product with only the barcode? I have built a document that allows our pickers to scan a barcode and mark it with various issues (restock/incorrect location/etc.) I would like to bring in relevant information about the product without having to look up the skus or IDs as this list my become pretty large.

This is what I was hoping to use:

query {
product(barcode:“1234567890”) {
data {
sku
warehouse_products {
on_hand
inventory_bin
inventory_overstock_bin
}
}
}
}

1 Like

I second this. Being able to look up by barcode would be awesome and really helpful.

Hi @JFurr @jeremyw
I just submitted a feature request for building this, so I will let you know as soon as I get an update on it.
Thanks!
Tom

1 Like