All Release Notes
Added Price selection to Product Projection Search on GraphQL API
22 December 2021
Composable Commerce
HTTP API
Enhancement
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: ScopedPricescopedPriceDiscounted: Boolean}type ScopedPrice {id: String!value: BaseMoney!currentValue: BaseMoney!country: StringcustomerGroupRef: ReferencecustomerGroup: CustomerGroupchannelRef: Referencechannel: ChannelvalidFrom: DateTimevalidUntil: DateTimediscounted: DiscountedProductSearchPriceValuecustom: CustomFieldsType}