CheckoutLineItem object

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

Required access

unauthenticated_read_product_listings access scope

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.

Types that return CheckoutLineItem

Mutations for CheckoutLineItem

checkoutLineItemsReplace

Sets a list of line items to a checkout.

Implements

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

Required access

unauthenticated_read_product_listings access scope

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.

Types that return CheckoutLineItem

Mutations for CheckoutLineItem

checkoutLineItemsReplace

Sets a list of line items to a checkout.

Implements

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

Required access

unauthenticated_read_product_listings access scope

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.

Types that return CheckoutLineItem

Mutations for CheckoutLineItem

checkoutLineItemsReplace

Sets a list of line items to a checkout.

Implements

Sign up for a Partner account to get started.

Sign up