Hello
I have products that have more than 50+ variants and I am trying to retrieve this list of products together with its variants using bulk operations with Graphql. The problem was it only gets the first 50 results. I also tried adding limit:100 as the parameter of the variants but it returns the same number of results. Same issue with getting the product images.
mutation {
bulkOperationRunQuery(
query: """
{
products(query:"published_status:published") {
edges {
node {
id
images {
edges {
node {
id
originalSrc
altText
}
}
}
variants {
edges {
node {
id
metafields {
edges {
node {
id
namespace
value
key
}
}
}
}
}
}
}
}
}
}
"""
) {
bulkOperation {
id
status
createdAt
}
userErrors {
field
message
}
}
}