All Release Notes
Added addedAt field to Cart's LineItems
24 August 2020
Enhancement
CartsOrders
LineItems of the Cart and My Cart
now have a field addedAt, which contains the DateTime when the LineItem was added to the Cart. addedAt can be passed in through
the API, and if omitted, it is created on the Server with the current DateTime as default.
- [API] Added
addedAtto LineItem - [API] Added
addedAtto LineItemDraft - [API] Added
addedAtto MyLineItemDraft - [API] Added
addedAtto Add LineItem action My Carts action - [API] Added
addedAtto LineItemDraft for Add LineItem on the Order Edits action - [GraphQL API] Changed the
AddStagedOrderLineItemtype:- Input field
addedAtwas added toAddStagedOrderLineItemtype
- Input field
- [GraphQL API] Changed the
LineItemDrafttype:- Input field
addedAtwas added toLineItemDrafttype
- Input field
- [GraphQL API] Changed the
AddCartLineItemtype:- Input field
addedAtwas added toAddCartLineItemtype
- Input field
- [GraphQL API] Changed the
LineItemtype:- Added the
addedAtfield to theLineItemtype.
- Added the
- [GraphQL API] Changed the
LineItemDraftOutputtype:- Added the
addedAtfield to theLineItemDraftOutputtype.
- Added the
- [GraphQL API] Changed the
AddMyCartLineItemtype:- Input field
addedAtwas added toAddMyCartLineItemtype
- Input field
- [GraphQL API] Changed the
MyLineItemDrafttype:- Input field
addedAtwas added toMyLineItemDrafttype
- Input field
Introduced the following changes to the GraphQL schema (in SDL format):
extend type LineItemDraftOutput {addedAt: DateTime}extend type LineItem {addedAt: DateTime}extend input AddMyCartLineItem {addedAt: DateTime}extend input AddStagedOrderLineItem {addedAt: DateTime}extend input MyLineItemDraft {addedAt: DateTime}extend input LineItemDraft {addedAt: DateTime}extend input AddCartLineItem {addedAt: DateTime}