Proper way of fetching product and variant ids #2422
Unanswered
rajanlagah
asked this question in
Help
Replies: 1 comment 6 replies
-
@davidhousedev any help? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my app, we are passing the Product Id, variant Id and product description page to our backend and then processing the product.
I see a query to fetch product details
In this, i am processing
gid://shopify/Product/7867633336552
andgid://shopify/ProductVariant/43456374112488
and processing these strings to get7867633336552
and43456374112488
.Question is there any better way to do the same? Splitting graphql ids seems not to be correct.
Beta Was this translation helpful? Give feedback.
All reactions