22 December 2021
GraphQLSearchProduct catalog
The Product Projection Search feature on the GraphQL API now supports price selection.
Changes:
- [GraphQL API] Added the following types to the GraphQL schema:
ScopedPrice
. - [GraphQL API] Changed the
ProductSearchVariant
type:- Added the
scopedPrice
field to theProductSearchVariant
type. - Added the
scopedPriceDiscounted
field to theProductSearchVariant
type.
- Added the
- [GraphQL API] Changed the
PriceSelectorInput
type:PriceSelectorInput.date
input field type changed fromDateTime!
toDateTime
The following changes were introduced in terms of GraphQL SDL:
extend type ProductSearchVariant {
scopedPrice: ScopedPrice
scopedPriceDiscounted: Boolean
}
type ScopedPrice {
id: String!
value: BaseMoney!
currentValue: BaseMoney!
country: String
customerGroupRef: Reference
customerGroup: CustomerGroup
channelRef: Reference
channel: Channel
validFrom: DateTime
validUntil: DateTime
discounted: DiscountedProductSearchPriceValue
custom: CustomFieldsType
}