7 December 2020
GraphQLProduct catalogPricing and Discounts
Product suggestions can now be queried using the GraphQL API.
Product discounts can now be retrieved by key, using the GraphQL API.
- [GraphQL API] Added the following types to the GraphQL schema: 
SearchKeywordArgument,SuggestResult,SuggestResultEntry,Suggestion. - [GraphQL API] Changed the 
Querytype:- Added the 
productProjectionsSuggestfield to theQuerytype. - Argument 
keywas added toQuery.productDiscountfield Query.productDiscount(id)type changed fromString!toString
 - Added the 
 
The following changes were introduced in terms of GraphQL SDL:
extend type Query {
  productProjectionsSuggest(searchKeywords: [SearchKeywordArgument!]!, fuzzy: Boolean, limit: Int = 10, staged: Boolean = false): SuggestResult!
}
input SearchKeywordArgument {
  searchKeyword: String!
  locale: Locale!
}
type SuggestResult {
  searchKeywords: [SuggestResultEntry!]!
}
type SuggestResultEntry {
  locale: Locale!
  suggestions: [Suggestion!]!
}
type Suggestion {
  text: String!
}