Skip to content

Commit 7d500b7

Browse files
committed
Updated API from documentation release
1 parent d042ef0 commit 7d500b7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

api-specs/graphql/schema.sdl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8189,10 +8189,12 @@ type ProductProjection {
81898189
hasStagedChanges: Boolean!
81908190
published: Boolean!
81918191
masterVariant: ProductSearchVariant!
8192-
variants: [ProductSearchVariant!]!
81938192

8194-
"Fetch all variants, including the master variant in first position."
8195-
allVariants: [ProductSearchVariant!]!
8193+
"Fetch all variants, excluding the master variant. If `onlyMatching` is used, filter this list based on the the search query."
8194+
variants(onlyMatching: Boolean): [ProductSearchVariant!]!
8195+
8196+
"Fetch all variants, including the master variant in first position. If `onlyMatching` is used, filter this list based on the the search query."
8197+
allVariants(onlyMatching: Boolean): [ProductSearchVariant!]!
81968198
taxCategoryRef: Reference
81978199
taxCategory: TaxCategory
81988200
stateRef: Reference

0 commit comments

Comments
 (0)