Skip to content

productTypes, productVendors missing from QueryRoot #16

@BenjaminPiette

Description

@BenjaminPiette

Graphql request:

query FetchProductVendors {
    productVendors (first: 250) { 
      edges {
        node
      }
    }
}

Cannot query field "productVendors" on type "QueryRoot". Did you mean "productFeeds", "productFeed", "productVariant", "productVariants", or "products"?GraphQL: Validation

When using shop {} that works, but with a deprecation warnng:

query FetchProductVendors {
  shop {
    productVendors (first: 250) { 
      edges {
        node
      }
    }
  }
}

The field Shop.productVendors is deprecated. Use QueryRoot.productVendors instead.GraphQL: Deprecation

  • OCTOBER_24 API version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions