Query Variants by Barocde Bug

I found a bug: If my filter barcode is a string or an integer, and my variant’s barcode is also a string or an integer, the query returns the variants correctly. However, if the barcode is an Int64, it fails.

Here is my example query:

‘{ productVariants(first: 2, query: “barcode:753152000649”) { edges { node { id title barcode product { id title } inventoryItem { id } } } }}’

I can’t adjust my barcodes. How to fix this?

Hi @DevJoe :waving_hand: Go here:
https://community.shopify.dev/

Situational awareness , be in the right place, read the signs:
“App reviews, troubleshooting, and recommendations” is the byline of this subforum.
These are the merchant facing forums and this is a subforum for merchants questions about apps for merchants not for developers developing apps.

Further label posts properly “shopify developed apps” is about apps made by shopify not for personal projects.

http://www.catb.org/~esr/faqs/smart-questions.html