All Release Notes

Added Line Item inventoryMode to the GraphQL schema

28 September 2022
Enhancement
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 the LineItem type.
  • [GraphQL API] Added Enum value Quote to CartOrigin type BETA.
  • [GraphQL API] Added the sellerComment field to the StagedQuote 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
}