Skip to main content

LineItem

A line item in an order, for one product variant.

type LineItem {
createdAt: Timestamp!
externalId: String!
id: GlobalID!
order: Order!
product: Product!
productVariant: ProductVariant!
updatedAt: Timestamp!
}

Fields​

LineItem.createdAt ● Timestamp! non-null scalar types​

The date and time when the line item was created.

LineItem.externalId ● String! non-null scalar types​

The line item's ID in the channel's external platform.

LineItem.id ● GlobalID! non-null scalar types​

The line item's ID.

LineItem.order ● Order! non-null object types​

The order the line item belongs to.

LineItem.product ● Product! non-null object types​

The product the line item is for.

LineItem.productVariant ● ProductVariant! non-null object types​

The product variant the line item is for.

LineItem.updatedAt ● Timestamp! non-null scalar types​

The date and time when the line item was last updated.

Member Of​

Order object ● SubscriptionOrderLine object