I’m performing this bulk update right now. I think I have the shape of my jsonl file wrong. An example line from my file:
{“input”: {“metafields”: [{“key”: “aims_sku”, “value”: “SGSKCAT_OWHT_OS”, “namespace”: “custom”, “ownerId”: “gid://shopify/productVariant/37140809220272”, “type”: “single_line_text_field”}, {“key”: “gs1_gtin”, “value”: “00198465367131”, “ownerId”: “gid://shopify/productVariant/37140809220272”, “type”: “single_line_text_field”, “namespace”: “custom”}]}}
But based on the MetafieldSetInput object you referenced, am I only allowed to have one metafield per line, and each line should look like:
{“input”: {“key”: “aims_sku”, “value”: “SGSKCAT_OWHT_OS”, “namespace”: “custom”, “ownerId”: “gid://shopify/productVariant/37140809220272”, “type”: “single_line_text_field”}}
or is it something else?