All Release Notes

Buyers can now request Quote renegotiation

23 August 2022
Composable Commerce
HTTP API
Enhancement
QuotesGraphQL

Buyers can now request to renegotiate a Quote provided by the Seller. Previously, Buyers only had the option to accept or reject a Quote. Renegotiation offers more flexibility and allows Buyers to ask for amendments to the Quote. Buyers can express additional details regarding their request in the form of a comment.

Changes:

  • [API] Added Request Quote Renegotiation update action to Quotes.
  • [API] Added optional fields sellerComment, buyerComment to Quote.
  • [API] Added DeclinedForRenegotiation value to QuoteState.
  • [GraphQL API] Added the following types to the GraphQL schema: RequestQuoteRenegotiation
  • [GraphQL API] Changed the MyQuoteUpdateAction type:
    • Input field requestQuoteRenegotiation was added to MyQuoteUpdateAction type
  • [GraphQL API] Changed the Quote type:
    • Added the buyerComment field to the Quote type.
    • Added the sellerComment field to the Quote type.
  • [GraphQL API] Changed the QuoteUpdateAction type:
    • Input field requestQuoteRenegotiation was added to QuoteUpdateAction type
  • [GraphQL API] Changed the QuoteState type:
    • Enum value DeclinedForRenegotiation was added to enum QuoteState

The following changes were introduced in terms of GraphQL SDL:

extend type Quote {
buyerComment: String
sellerComment: String
}
extend input MyQuoteUpdateAction {
requestQuoteRenegotiation: RequestQuoteRenegotiation
}
extend input QuoteUpdateAction {
requestQuoteRenegotiation: RequestQuoteRenegotiation
}
extend enum QuoteState {
DeclinedForRenegotiation
}
input RequestQuoteRenegotiation {
buyerComment: String
}