All Release Notes
Added addedAt field to Cart's LineItems
24 August 2020
Composable Commerce
HTTP API
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
addedAt
to LineItem - [API] Added
addedAt
to LineItemDraft - [API] Added
addedAt
to MyLineItemDraft - [API] Added
addedAt
to Add LineItem action My Carts action - [API] Added
addedAt
to LineItemDraft for Add LineItem on the Order Edits action - [GraphQL API] Changed the
AddStagedOrderLineItem
type:- Input field
addedAt
was added toAddStagedOrderLineItem
type
- Input field
- [GraphQL API] Changed the
LineItemDraft
type:- Input field
addedAt
was added toLineItemDraft
type
- Input field
- [GraphQL API] Changed the
AddCartLineItem
type:- Input field
addedAt
was added toAddCartLineItem
type
- Input field
- [GraphQL API] Changed the
LineItem
type:- Added the
addedAt
field to theLineItem
type.
- Added the
- [GraphQL API] Changed the
LineItemDraftOutput
type:- Added the
addedAt
field to theLineItemDraftOutput
type.
- Added the
- [GraphQL API] Changed the
AddMyCartLineItem
type:- Input field
addedAt
was added toAddMyCartLineItem
type
- Input field
- [GraphQL API] Changed the
MyLineItemDraft
type:- Input field
addedAt
was added toMyLineItemDraft
type
- 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}