CheckoutLineItem

Required access

unauthenticated_read_product_listings access scope

A single line item in the checkout, grouped by variant and attributes.

Show definition
# A single line item in the checkout, grouped by variant and attributes.
type CheckoutLineItem implements Node {
  # Globally unique identifier.
  id: ID!

  # Extra information in the form of an array of Key-Value pairs about the line item.
  customAttributes: [Attribute!]!

  # The quantity of the line item.
  quantity: Int!

  # Title of the line item. Defaults to the product's title.
  title: String!

  # Product variant of the line item.
  variant: ProductVariant
}

Implements

Fields

customAttributes   ([Attribute!]!)

Extra information in the form of an array of Key-Value pairs about the line item.

Required access

unauthenticated_read_ access scope

id   (ID!)

Globally unique identifier.

Required access

unauthenticated_read_ access scope

quantity   (Int!)

The quantity of the line item.

Required access

unauthenticated_read_ access scope

title   (String!)

Title of the line item. Defaults to the product's title.

Required access

unauthenticated_read_ access scope

variant   (ProductVariant)

Product variant of the line item.

Required access

unauthenticated_read_ access scope

Sign up for a Partner account to get started.

Sign up