I am trying to get products published to my app doing
query Products {
products(
first: 100,
query: "product_publication_status:999999999999-published"
) {
nodes {
id
title
}
}
}
It returns all products, not only those added to sales channel and the warning:
Input `99999999999-published` is not an accepted value
Documentation
I got my app id doing
query App {
appByHandle(handle: "app-handle") {
id
}
}```
and dropped the gid://shopify/App/ part of it.
Am I doing anything wrong?