GraphQL ids

Solved
dogowner
Excursionist
16 1 1

I'm trying to sync products between my local database and shopify using the graphql admin api.  Can I store the graphql ids permanently, ie. "gid://shopify/Product/0000000000", in order to determine if I have created that product before?  I couldn't find in the documentation if those ids are permanent or could change.

 

Thanks.

0 Likes
KarlOffenberger
Shopify Partner
1868 183 819

This is an accepted solution.

Hi @dogowner 

Safe to use, won't change.

Liked this post? You might also like our fantastic upsell apps Candy Rack, Last Upsell post-purchase and Candy Cart or offer free gifts with Gift Box. All made with ❤️  and care by Digismoothie
0 Likes