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
ProductSearchVarianttype:- Added the
scopedPricefield to theProductSearchVarianttype. - Added the
scopedPriceDiscountedfield to theProductSearchVarianttype.
- Added the
- [GraphQL API] Changed the
PriceSelectorInputtype:PriceSelectorInput.dateinput 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
}