23 August 2022
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,buyerCommentto Quote. - [API] Added
DeclinedForRenegotiationvalue to QuoteState. - [GraphQL API] Added the following types to the GraphQL schema:
RequestQuoteRenegotiation - [GraphQL API] Changed the
MyQuoteUpdateActiontype:- Input field
requestQuoteRenegotiationwas added toMyQuoteUpdateActiontype
- Input field
- [GraphQL API] Changed the
Quotetype:- Added the
buyerCommentfield to theQuotetype. - Added the
sellerCommentfield to theQuotetype.
- Added the
- [GraphQL API] Changed the
QuoteUpdateActiontype:- Input field
requestQuoteRenegotiationwas added toQuoteUpdateActiontype
- Input field
- [GraphQL API] Changed the
QuoteStatetype:- Enum value
DeclinedForRenegotiationwas added to enumQuoteState
- Enum value
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
}