16 May 2023
GraphQLProduct catalogProject configuration
We added support for locale-based Product Projection to the
product and products queries on the GraphQL API. With this projection, your response contains the translation on Products (also in a Store) you have specified in your query only. All other locales are filtered out from the product information.
Furthermore, the projection can also be applied to Products expanded on Reference Type Attributes.Changes:
- [GraphQL API] Changed the
Querytype:- Argument
localeProjectionwas added toQuery.productsfield - Argument
localeProjectionwas added toQuery.productfield - Argument
projectExpandedProductswas added toQuery.productProjectionSearchfield - Argument
projectExpandedProductswas added toQuery.productfield - Argument
projectExpandedProductswas added toQuery.productsfield
- Argument
- [GraphQL API] Changed the
InStoretype:- Arguments
localeProjectionwas added toInStore.productfield - Argument
projectExpandedProductswas added toInStore.productfield
- Arguments