Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

LineItemDraft

export type LineItemDraft = {
    productId?: InputMaybe<Scalars['String']>;
    sku?: InputMaybe<Scalars['String']>;
    quantity?: InputMaybe<Scalars['Long']>;
    variantId?: InputMaybe<Scalars['Int']>;
    supplyChannel?: InputMaybe<ResourceIdentifierInput>;
    distributionChannel?: InputMaybe<ResourceIdentifierInput>;
    custom?: InputMaybe<CustomFieldsDraft>;
    shippingDetails?: InputMaybe<ItemShippingDetailsDraft>;
    addedAt?: InputMaybe<Scalars['DateTime']>;
    externalTaxRate?: InputMaybe<ExternalTaxRateDraft>;
    externalPrice?: InputMaybe<BaseMoneyInput>;
    externalTotalPrice?: InputMaybe<ExternalLineItemTotalPriceDraft>;
};

Referenced Types

On this page