From d0ab34123535479eb53d2400ca18fdfab0f9bf4c Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:11:05 +0000 Subject: [PATCH] Updated API from documentation release --- api-specs/graphql/schema.sdl | 5 +++++ 1 file changed, 5 insertions(+) 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