I'm using GraphQL shopify buy-sdk for Android, and getting node for Product, by string id like:
"id" -> "Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzEwMDcyMDgwOTc1"
this is node id
but to get, say, product metafields, i have to make request to Admin API
https://SHOP.myshopify.com/admin/products/{productId}/metafields.json
where {productId} is numeric id of Product, like:
6243834538
I cannot use node id in REST API request, getting 400 "Bad Request".
So the question is - how to get numeric product id for node in GraphQL?
Thanks!