Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi Experts,
I want to call Metafield: shopify.color-pattern [list.metaobject_reference] value from API but cannot locate it in API doc. Can anyone suggest me how to get this value from the store via API?
Matrixify app does get this value in its export so I assume it's somewhere in API.
Your input is greatly appreciated.
BR,
Hi @UX1
In Shopify Admin API, to extract Metafield values, you would use the `metafields` connection for the Product API - https://shopify.dev/docs/api/admin-graphql/latest/objects/Product#field-metafields
If you need it for the front end, then you would likely use Storefront API, which also does seem to have Metafields attribute for the Product - https://shopify.dev/docs/api/storefront/latest/objects/Product
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025