Have your say in Community Polls: What was/is your greatest motivation to start your own business?

GET catalog products filtered by productType

GET catalog products filtered by productType

Delarocha
Visitor
2 0 0

Here's the translation:

 

I am looking for a way to retrieve products from a catalog but also be able to filter the products by productType. I've tried with several objects, but none allow query or filter as an argument. Do you know of any solution or if this feature will be included in the future?"

 

{

  catalog(id: "gid://shopify/CompanyLocationCatalog/7777777") {

    id

    title

    priceList {

      id

      currency

      prices(first: 10) { 

        edges {

          node {

            variant {

              id

              product {

                id

                title

              }

              title

              price

            }

          }

        }

        pageInfo {

          hasNextPage

          endCursor

        }

      }

    }

  }

}

Replies 0 (0)