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 {
  # Extra information in the form of an array of Key-Value pairs about the line item.
  customAttributes: [Attribute!]!

  # The discounts that have been allocated onto the checkout line item by discount applications.
  discountAllocations: [DiscountAllocation!]!

  # Globally unique identifier.
  id: ID!

  # 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.

discountAllocations   ([DiscountAllocation!]!)

The discounts that have been allocated onto the checkout line item by discount applications.

id   (ID!)

Globally unique identifier.

quantity   (Int!)

The quantity of the line item.

title   (String!)

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

variant   (ProductVariant)

Product variant of the line item.

Sign up for a Partner account to get started.

Sign up