All Release Notes

Adds lastModifiedAt to LineItem

7 September 2020
Enhancement
CartsOrdersGraphQL

A new field is introduced to LineItems of Carts, Orders and OrderEdits. This field is updated whenever one of setLineItemShippingDetails, addLineItem, removeLineItem, or changeLineItemQuantity changes the LineItem.

  • [API] Added a lastModifiedAt field to LineItem
  • [GraphQL API] Changed the LineItem type:
    • Added the lastModifiedAt field to the LineItem type.

Introduced the following changes to the GraphQL schema (in SDL format):

extend type LineItem {
lastModifiedAt: DateTime
}
Copyright © 2021 commercetools