19 December 2024
Product catalogGraphQL
You can now fetch all Product Variants in 
productProjectionSearch queries in the GraphQL API. Previously, you had to use the masterVariant and variants separately to fetch all Product Variants.Changes:
- [GraphQL API] Added the 
allVariantsfield to theProductProjectiontype. 
The following changes were introduced in terms of GraphQL SDL:
extend type ProductProjection {
  "Fetch all variants, including the master variant in first position."
  allVariants: [ProductSearchVariant!]!
}