How to access metafield using shopify storefront API?

Keyurp
New Member
12 0 0

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.

0 Likes
c10s
Shopify Partner
41 7 6

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: https://shopify.dev/tutorials/retrieve-metafields-with-storefront-api#expose-metafields-to-the-store...

0 Likes