title: Shopify API - get bulk products by collection id using graphQL
body: <p>I need to fetch all products using Shopify API by collection id...</p>
  <p>I tried:</p>
  <pre><code>mutation {
    bulkOperationRunQuery(
      query:&quot;&quot;&quot;
      {
        products(query: &quot;tag:women OR collection:172173852808&quot;) {
          edges{
        node{
          id
          tags
          
          images {
            edges {
              node {
                id
                originalSrc
              }
            }
          }
          variants(first:10) {
            edges{
              node{
                id
                price
                compareAtPrice
                image{
                  originalSrc
                }
                inventoryQuantity
                selectedOptions{
                  name
                  value
                }
                sku
                title
                weight
                weightUnit  
              }
            }
          }
        }
      }
        }
      }
      &quot;&quot;&quot;
    ) {
      bulkOperation {
        id
        status
      }
      userErrors {
        field
        message
      }
    }
  }
  </code></pre>
  <p>Result Shopify gives me is just product with tags: women and there are no products from collection id 172173852808</p>
  <p>How to run a query to get products from one or more specific connections?</p>