GitHub

OrderLineItem

import { OrderLineItem } from '@daffodil/driver/shopify'

Represents a single line in an order. There is one line item for each distinct product variant.

type OrderLineItem = {
    __typename?: 'OrderLineItem';
    currentQuantity: Scalars['Int']['output'];
    customAttributes: Array<Attribute>;
    discountAllocations: Array<DiscountAllocation>;
    discountedTotalPrice: MoneyV2;
    originalTotalPrice: MoneyV2;
    quantity: Scalars['Int']['output'];
    title: Scalars['String']['output'];
    variant?: Maybe<ProductVariant>;
}