I’m trying to fetch product meta fields via. Storefront API for one collection.
API doesn’t return any error, but edges property has an empty error.
I tested if the product has meta fields via. Admin API and I’m sure that yes.
My query:
query {
shop {
collectionByHandle(handle: "xxx") {
id
products(first: 250) {
edges {
node {
id
handle
title
description
metafields(first: 100) {
edges {
node {
key
value
}
}
}
}
}
}
}
}
}