Why am I receiving “null” for “inventoryAlert” when tracking is on, total stock is 0, and low stock alert is 2?
query CatalogItems($merchantId: ID!) {
catalogItems(
filter: {
merchantId: { equalToAnyOf: [$merchantId] }
}
) {
nodes {
...
variations {
...
inventoryAlert {
threshold
type
}
}
}
}
}
