This is a question about how or if one can handle representing a product hierarchy that looks like this:
-
Product
-
Product Variant
-
Product Variant Batch (SKU) ← How do we describe these in Shopify?
To put this into words, the above describes a structure where the unique SKU identifies a particular batch of a product variant. This means that there are multiple batches of a given product variant.
It’s not obvious how to represent this structure in Shopify. Looking at the Shopify APIs, both the Product Variants and the Inventory Items have a sku field. However, the docs for Inventory Items says, “[t]here is a 1:1 relationship between a product variant and an inventory item”, so this relationship can’t be used to express the 1:many relationship between product variants and their batches.
Has anyone here encountered this situation before?