Shopify / storefront-api-examples

Example custom storefront applications built on Shopify's Storefront API
https://help.shopify.com/api/storefront-api
MIT License
1.12k stars 329 forks source link

Exposing Meta Fields to StoreFront API #94

Closed skaltenegger closed 5 years ago

skaltenegger commented 5 years ago

Dear Shopify tech team,

We saw that metafields and metafield have been added to your StoreFront API's GraphQL schema for the Product and ProductVariant type. When we query for those fields, we unfortunately still get an empty array or null as a result, even though the meta fields are set. See screenshot below:

Screenshot 2019-05-01 13 06 18

Do you have any idea of why this might happen in our case and if there is a way we can resolve this? We are using StoreFront GraphQL API for a large production build and would need this to work urgently, therefore very much appreciate your help here!

Thanks a lot and all the best, Stefan

rebeccajfriedman commented 5 years ago

:wave: Metafields for Products and ProductVariants are indeed available through the Storefront API! Follow the guide to learn more about how to get it up and running!