API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

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

Fields

edges ([CheckoutLineItemEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

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.

Fields

cursor (String!)

A cursor for use in pagination.

node (CheckoutLineItem!)

The item at the end of CheckoutLineItemEdge.

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.

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

On this page

Fields

edges ([CheckoutLineItemEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (CheckoutLineItem!)

The item at the end of CheckoutLineItemEdge.

Types that return CheckoutLineItemEdge

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

On this page

Fields

edges ([CheckoutLineItemEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (CheckoutLineItem!)

The item at the end of CheckoutLineItemEdge.

Types that return CheckoutLineItemEdge

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

On this page

Fields

edges ([CheckoutLineItemEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (CheckoutLineItem!)

The item at the end of CheckoutLineItemEdge.

Types that return CheckoutLineItemEdge

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

On this page

Fields

edges ([CheckoutLineItemEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (CheckoutLineItem!)

The item at the end of CheckoutLineItemEdge.

Types that return CheckoutLineItemEdge

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

On this page

Fields

edges ([CheckoutLineItemEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (CheckoutLineItem!)

The item at the end of CheckoutLineItemEdge.

Types that return CheckoutLineItemEdge

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

On this page

Fields

edges ([CheckoutLineItemEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (CheckoutLineItem!)

The item at the end of CheckoutLineItemEdge.

Types that return CheckoutLineItemEdge

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

On this page

Fields

edges ([CheckoutLineItemEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (CheckoutLineItem!)

The item at the end of CheckoutLineItemEdge.

Types that return CheckoutLineItemEdge