The following query fails with error “The parent ‘node’ field for a nested connection must select the ‘id’ field without an alias and must be of ‘ID’ return type. Connection fields without ‘id’: prices.”
According to the documentation “prices” does not have an “id” field. Is this an implementation error? Is there another way to run a bulk operation to list quantityPriceBreaks for priceLists ?
mutation GetPriceListPriceBreaks {
bulkOperationRunQuery(
query: “”"
{
priceLists(sortKey: NAME) {
edges {
node {
id name
catalog {
title
}
prices (first: 5) {
edges {
node {
variant {
product {
id handle title
}
id sku
}
price {
amount
}
quantityPriceBreaks(first: 10, sortKey: MINIMUM_QUANTITY) {
edges {
node {
minimumQuantity
price {
amount
}
}
}
}
}
}
}
}
}
}
}
“”"
) {
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}