"when a product variant is updated, it's possible that a new Variant ID is generated"

Good day.

As we’re getting, using the REST API, a number of errors stating that “the Variant IDs do not exist or do not belong to the product”, a Shopify Partner support person has informed us that “Variant IDs in Shopify are not stable” and that “when a product variant is updated, it’s possible that a new Variant ID is generated”.

I would like to ask:

  • whether someone can elaborate on that

  • whether someone has experienced the same issue

  • whether this is actually for real as it seems contrary to the basic principle of immutability of IDs

  • whether this is documented anywhere in the docs

Thanks.

Encountering the same issue. It’s a clear design flaw when you’d expect an ID to be consistent for record updates, not to trash the record.

Where is the basic respect for FK references, Shopfiy?