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.

unitPrice (MoneyV2)

Unit price of the line item.

variant (ProductVariant)

Product variant of the line item.

Types that return CheckoutLineItem

Mutations for CheckoutLineItem

checkoutLineItemsAdd

Adds a list of line items to a checkout.

checkoutLineItemsRemove

Removes line items from an existing checkout.

checkoutLineItemsReplace

Sets a list of line items to a checkout.

checkoutLineItemsUpdate

Updates line items on 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.

unitPrice (MoneyV2)

Unit price of the line item.

variant (ProductVariant)

Product variant of the line item.

Types that return CheckoutLineItem

Mutations for CheckoutLineItem

checkoutLineItemsAdd

Adds a list of line items to a checkout.

checkoutLineItemsRemove

Removes line items from an existing checkout.

checkoutLineItemsReplace

Sets a list of line items to a checkout.

checkoutLineItemsUpdate

Updates line items on 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.

unitPrice (MoneyV2)

Unit price of the line item.

variant (ProductVariant)

Product variant of the line item.

Types that return CheckoutLineItem

Mutations for CheckoutLineItem

checkoutLineItemsAdd

Adds a list of line items to a checkout.

checkoutLineItemsRemove

Removes line items from an existing checkout.

checkoutLineItemsReplace

Sets a list of line items to a checkout.

checkoutLineItemsUpdate

Updates line items on 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

checkoutLineItemsAdd

Adds a list of line items to a checkout.

checkoutLineItemsRemove

Removes line items from an existing checkout.

checkoutLineItemsReplace

Sets a list of line items to a checkout.

checkoutLineItemsUpdate

Updates line items on 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

checkoutLineItemsAdd

Adds a list of line items to a checkout.

checkoutLineItemsRemove

Removes line items from an existing checkout.

checkoutLineItemsReplace

Sets a list of line items to a checkout.

checkoutLineItemsUpdate

Updates line items on 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

checkoutLineItemsAdd

Adds a list of line items to a checkout.

checkoutLineItemsRemove

Removes line items from an existing checkout.

checkoutLineItemsReplace

Sets a list of line items to a checkout.

checkoutLineItemsUpdate

Updates line items on a checkout.

Implements