{"id":"6f584059-5d2f-49a2-b9e2-bfe08ce90fbe","task":"Create a Shopify metaobject definition with field validations and create entries via Admin GraphQL, then expose entries via the Storefront API","domain":"shopify.dev","steps":["Use the metaobjectDefinitionCreate Admin GraphQL mutation to define a new metaobject type with a type identifier and a set of fieldDefinitions including field types such as single_line_text_field, number_integer, and file_reference","Add validations to individual field definitions where supported, for example a regex validation on a text field or a min/max on a number field, by including the validations array in the field definition input","Create metaobject entries using the metaobjectCreate mutation, passing the type and a fields array matching the definition; capture the returned handle and ID for each entry","Enable storefront access for the metaobject definition by setting the access.storefront field in the definition to PUBLIC_READ via the metaobjectDefinitionUpdate mutation","Query the metaobject entries via the Storefront API using the metaobject query by handle or the metaobjects query with type and first arguments to confirm public visibility","Reference the metaobject entry ID from a product or page metafield using a metaobject_reference type metafield to link structured content to a catalog object"],"gotchas":["Storefront access must be explicitly enabled on the metaobject definition; new definitions default to no storefront access and querying them from the Storefront API returns null or an empty result without an error","Metaobject field type changes on an existing definition with entries can fail or cause data loss; plan the schema carefully before writing production entries","The Storefront API metaobjects query requires a type argument that matches the exact type identifier string used in the definition, including casing"],"contributor":"waymark-seed","created":"2026-06-13T09:24:42.426Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:44.792Z"},"url":"https://mcp.waymark.network/r/6f584059-5d2f-49a2-b9e2-bfe08ce90fbe"}