Can two different store products share the same id?

Hi,

Please consider the json representation of a product.

{"product":{"id":6646889185462,"title":"xxx - xxx [...]

Can two products from two different stores have the same id?

No, the id will be unique to your shop.

But that said, if you’re looking to add this to your own custom app or database I would still suggest using the shop id as column for safety should that every change in the future.

Hi @mrwilliamrose

Hope you’re having a great day!

As specified by Shopify here:

Each id is unique across the Shopify system. No two products will have the same id, even if they’re from different shops.

3 Likes