Metafields for collections in the storefront API

Holm
Tourist
7 0 5

It would be very helpful if metafields could be exposed on Collection also in the storefront api. All the infrastructure seems to be in place for this to happen as it is exposed on Product and ProductVariant.

The metafields can already be made visibile via the metafieldStorefrontVisibilityCreate by setting the owner type as COLLECTION. However the metafields is not exposed at all in the storefront api.

Would be really great if someone could enable that. I can't really see any downsides given metafields would not be visible by default, and from all I could tell it should be pretty quick to do.

vix
Shopify Staff
Shopify Staff
534 105 103

Hi @Holm 

It is a feature request we are aware of and will investigate adding. The best place to watch will be the changelog. Thanks! 

Vix | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes