All Release Notes
Added GraphQL support for Messages on QuoteRequests, StagedQuotes, and Quotes
24 August 2023
Composable Commerce
HTTP API
Enhancement
GraphQLB2BQuotesMessages/Subscriptions
You can now query QuoteRequest, StagedQuote, and Quote Messages via GraphQL.
In addition, you can now subscribe to Messages about Quote renegotiation requests.
Changes:
- [API] added QuoteRenegotiationRequested Message.
- [GraphQL API] Added the following types to the GraphQL schema:
QuoteCreated
,QuoteCustomerChanged
,QuoteDeleted
,QuoteRenegotiationRequested
,QuoteRequestCreated
,QuoteRequestCustomerChanged
,QuoteRequestDeleted
,QuoteRequestStateChanged
,QuoteRequestStateTransition
,QuoteStateChanged
,QuoteStateTransition
,StagedQuoteCreated
,StagedQuoteDeleted
,StagedQuoteSellerCommentSet
,StagedQuoteStateChanged
,StagedQuoteStateTransition
,StagedQuoteValidToSet
. - [GraphQL API] Changed the
Quote
type:- Added the
customerGroup
field to theQuote
type. - Added the
customerGroupRef
field to theQuote
type.
- Added the
- [GraphQL API] Changed the
QuoteRequest
type:- Added the
customerGroup
field to theQuoteRequest
type. - Added the
customerGroupRef
field to theQuoteRequest
type.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type Quote {customerGroup: CustomerGroupcustomerGroupRef: Reference}extend type QuoteRequest {customerGroup: CustomerGroupcustomerGroupRef: Reference}type QuoteCreated implements MessagePayload {quote: Quote!type: String!}type QuoteCustomerChanged implements MessagePayload {customerRef: Reference!previousCustomerRef: Reference!customer: CustomerpreviousCustomer: Customertype: String!}type QuoteDeleted implements MessagePayload {type: String!}type QuoteRenegotiationRequested implements MessagePayload {buyerComment: Stringtype: String!}type QuoteRequestCreated implements MessagePayload {quoteRequest: QuoteRequest!type: String!}type QuoteRequestCustomerChanged implements MessagePayload {customerRef: Reference!previousCustomerRef: Reference!customer: CustomerpreviousCustomer: Customertype: String!}type QuoteRequestDeleted implements MessagePayload {type: String!}type QuoteRequestStateChanged implements MessagePayload {quoteRequestState: QuoteRequestState!oldQuoteRequestState: QuoteRequestState!type: String!}type QuoteRequestStateTransition implements MessagePayload {stateRef: Reference!oldStateRef: Referenceforce: Boolean!state: StateoldState: Statetype: String!}type QuoteStateChanged implements MessagePayload {quoteState: QuoteState!oldQuoteState: QuoteState!type: String!}type QuoteStateTransition implements MessagePayload {stateRef: Reference!oldStateRef: Referenceforce: Boolean!state: StateoldState: Statetype: String!}type StagedQuoteCreated implements MessagePayload {stagedQuote: StagedQuote!type: String!}type StagedQuoteDeleted implements MessagePayload {type: String!}type StagedQuoteSellerCommentSet implements MessagePayload {sellerComment: Stringtype: String!}type StagedQuoteStateChanged implements MessagePayload {stagedQuoteState: StagedQuoteState!oldStagedQuoteState: StagedQuoteState!type: String!}type StagedQuoteStateTransition implements MessagePayload {stateRef: Reference!oldStateRef: Referenceforce: Boolean!state: StateoldState: Statetype: String!}type StagedQuoteValidToSet implements MessagePayload {validTo: DateTimetype: String!}