All Release Notes
Introduced My Quotes in beta
10 October 2022
Feature
Quotes
The My Quotes API provides access to Quotes scoped to a specific user. Using the My Quotes endpoints, Buyers can view and update Quotes that they have access to. By updating the state of the Quote, Buyers can indicate whether they accept or decline a given Quote.
Changes:
- [API] Added My Quotes API.
- [API] Added MyOrderFromQuoteDraft to My Orders.
- [API] Added Create Order from Quote endpoint to My Orders.
- [GraphQL API] Added the following types to the GraphQL schema:
ChangeMyQuoteMyQuoteState
,MyQuoteState
,MyQuoteUpdateAction
,OrderMyQuoteCommand
- [GraphQL API] Changed the
Me
type:- Added the
quote
field to theMe
type. - Added the
quotes
field to theMe
type.
- Added the
- [GraphQL API] Changed the
Mutation
type:- Added the
updateMyQuote
field to theMutation
type.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type Me {"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"quote("Queries with specified ID"id: String,"Queries with specified key"key: String): Quote"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"quotes(where: String, sort: [String!], limit: Int, offset: Int): QuoteQueryResult!}extend type Mutation {"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"createMyOrderFromQuote(draft: OrderMyQuoteCommand!): Order"Queries with specified key"key: String): StagedQuoteupdateMyQuote(version: Long!, actions: [MyQuoteUpdateAction!]!}input ChangeMyQuoteMyQuoteState {quoteState: MyQuoteState!}input ChangeQuoteState {quoteState: MyQuoteState!}enum MyQuoteState {AcceptedDeclined}input MyQuoteUpdateAction {changeMyQuoteState: ChangeMyQuoteMyQuoteStatesetCustomField: SetQuoteCustomFieldsetCustomType: SetQuoteCustomTyperequestQuoteRenegotiation: RequestQuoteRenegotiation}input OrderMyQuoteCommand {id: String!version: Long!}