All Release Notes
Added support for Mark Matching Variants in GraphQL API's Product Projection Search
29 October 2021
Enhancement
GraphQLProduct Catalog
To support the marked matching Variants feature in the GraphQL API we have added the field isMatchingVariant to the Product Variants in the result of productProjectionSearch queries. This field will only have a value when the argument markMatchingVariants (that we also added) is set to true.
Changes:
- [GraphQL API] Changed the
ProductSearchVarianttype:- Added the
isMatchingVariantfield to theProductSearchVarianttype.
- Added the
- [GraphQL API] Changed the
Querytype:- Added argument
markMatchingVariantstoQuery.productProjectionSearchfield to align with the REST API. - Deprecated argument
Query.productProjectionSearch(markMatchingVariant)in favor ofmarkMatchingVariants.
- Added argument
The following changes were introduced in terms of GraphQL SDL:
extend type ProductSearchVariant {isMatchingVariant: Boolean}