diff --git a/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls b/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls index 199c91ecd3..f2436bbaed 100644 --- a/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls +++ b/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls @@ -8189,10 +8189,12 @@ type ProductProjection { hasStagedChanges: Boolean! published: Boolean! masterVariant: ProductSearchVariant! - variants: [ProductSearchVariant!]! - "Fetch all variants, including the master variant in first position." - allVariants: [ProductSearchVariant!]! + "Fetch all variants, excluding the master variant. If `onlyMatching` is used, filter this list based on the the search query." + variants(onlyMatching: Boolean): [ProductSearchVariant!]! + + "Fetch all variants, including the master variant in first position. If `onlyMatching` is used, filter this list based on the the search query." + allVariants(onlyMatching: Boolean): [ProductSearchVariant!]! taxCategoryRef: Reference taxCategory: TaxCategory stateRef: Reference diff --git a/references.txt b/references.txt index dcd39c20ee..6753345723 100644 --- a/references.txt +++ b/references.txt @@ -356,3 +356,4 @@ e8f731a742ca2997342b1b5f98121d86c8189a3b b7b82f5a701908239fcf39781bcbfa80823c9fa0 cc1732f88ea3dc336358ff9f39cda9d5271cf7c2 d042ef009240bb55e9b5b18003aba682ec9baa98 +7d500b75265e9fdc6c5a47acb4e1df29523f707c