Hello everyone,
I would like to create variant metafields using the Shopify API on a large scale. The desired datatype for these metafields is “list.single_line_text_field.” It is crucial that these metafields have a definition. Currently, when I create metafields using the Shopify API (as outlined in the documentation: https://shopify.dev/docs/api/admin-rest/2023-04/resources/metafield#post-blogs-blog-id-metafields), they are generated without a definition by default. Therefore, I need to convert these metafields into ones with definitions. However, I am unable to select the “List” option for the datatype. Is there a way to create metafields with definitions while using the “list.single_line_text_field” datatype?
As you can see in the image to the right (where I want to add a definition to a metafield which I create with the API), there is no option for “list of values”:
Best regards
Valdrin
