diff --git a/api-specs/graphql/schema.sdl b/api-specs/graphql/schema.sdl index 4ab9d500c..a93f6d679 100644 --- a/api-specs/graphql/schema.sdl +++ b/api-specs/graphql/schema.sdl @@ -7776,6 +7776,8 @@ type ProductData { If the list is not provided then noChannel is checked for `isOnStock` """ stockChannelIds: [String!], hasImages: Boolean): [ProductVariant!]! + + "Fetch all variants, including the master variant in first position." allVariants( "Queries for products with specified SKUs" skus: [String!], isOnStock: Boolean, @@ -8159,6 +8161,9 @@ type ProductProjection { published: Boolean! masterVariant: ProductSearchVariant! variants: [ProductSearchVariant!]! + + "Fetch all variants, including the master variant in first position." + allVariants: [ProductSearchVariant!]! taxCategoryRef: Reference taxCategory: TaxCategory stateRef: Reference