DEV

Type.

Cart

A Cart represents a collection of Items.

Fields

id

ID!

Required

The Cart's unique identifier.

adjustments

[CartAdjustment!]!

Required

A list of CartAdjustments.

createdAt

DateTime!

Required

When this Cart was created.

createdBy

ID!

Required

The user that created this Cart.

items

[Item!]!

Required

The Items to add to the cart.

metadata

[CartMetadata!]!

Required

metadata for the cart

organization

Organization

The organization that the cart belongs to

organizationId

ID!

Required

The organization's id that the cart belongs to

updatedAt

DateTime!

Required

When this Cart was most recently updated.

updatedBy

ID!

Required

User who most recently updated this Cart.

Was this page helpful?