FROM CACHE - en_header
Return management just got easier! We’ve launched Customer Self-Serve Returns to all Shopify merchants. Click here to learn more!

How to access metafield using shopify storefront API?

27 0 4

Hello all

I am trying to get Metafield using Shopify storefront API but all the information Is get to accept meta fields. So can you please help me to find out the exact solutions or any alternative solutions?

I have attached zip and in this file some screenshot for Shopify storefront API request and response payload.

Reply 1 (1)
Shopify Partner
67 12 18

You need to make sure you expose the specific metafields you need using the Storefront API by enabling them via the metafieldStorefrontVisibilityCreate Admin API mutation: