28 September 2022
CartsQuotesGraphQL
To align with the HTTP API we released following Carts- and Quotes-related features in the GraphQL API.
Changes:
- [GraphQL API] Added the
inventoryMode
field to theLineItem
type. - [GraphQL API] Added Enum value
Quote
toCartOrigin
type BETA. - [GraphQL API] Added the
sellerComment
field to theStagedQuote
type.
The following changes were introduced in the GraphQL Schema SDL file:
extend type StagedQuote {
sellerComment: String
}
extend type LineItem {
inventoryMode: InventoryMode
}
extend enum CartOrigin {
"The cart was created by our platform and belongs to a Quote. BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
Quote
}