I am calling the storefront api to return data to a custom storefront. This isn’t the final product, but the sentiment is the same that I want to call two sections at the same time. Is this possible?
query Collections{
collectionByHandle(handle:"collection-call") {
products(first:1) {
edges {
node {
id
title
}
}
}
metafield(namespace:"custom",key:"collection-call-metafield"){
value
}
}
}
query Products{
products(first: 10) {
edges {
node {
title
handle
tags
priceRange {
minVariantPrice {
amount
}
}
images(first: 1) {
edges {
node {
transformedSrc
altText
}
}
}
}
}
pageInfo{
hasPreviousPage
hasNextPage
}
}
}