When attempting to filter products based on whether or not the products are published to our sales channel, nothing that is documented seems to be working as documented here products - GraphQL Admin
Specifically, I’m trying to filter the product list such that on the returned products the publishedOnCurrentPublication
field is true.
I’ve tried finding the publication id of the current publication and running publication_ids:'gid://shopify/Publication/{long}'
as well as publication_ids:{long}
I’ve tried filtering the products down by the publishable_status
field with all of publishable_status:published
← This one returns products that are publish to any publication not just our sales channel
I’ve tried finding my publication id and running publishable_status:{publicationId}:published
as well as publishable_status:{pubId}-published
because both are documented, and obtaining results with warning of
"warnings": [
{
"field": "publishable_status",
"message": "Input `{input}` is not an accepted value."
}
]
Has anyone else had any luck trying to correctly filter for products that are published to your sales channel?