Hi Shopify community.
I'm currently building an app using the Shopify buy sdk => https://shopify.github.io/js-buy-sdk/
I am querying all products in my store with GraphQL, here's a screenshot:
I don't understand why the products ids have a prefix such as "Shopify__Product__" and the rest of the id as you can see in the screenshot.
Is this normal behaviour?
In my code I skip the prefix because it gives me errors, but honestly I can't for the life of me figure out why there's a prefix and I can't seem to find any info about this.
Solved! Go to the solution
This is an accepted solution.
It does not look like you are querying the Storefront API directly (or through the SDK). Is this through something like Gatsby or another 3p connector? That would explain the formatting differences.