@usethrottle/cart
    Preparing search index...

    Interface AddLineItemInput

    interface AddLineItemInput {
        description?: string;
        discountAmount?: number;
        imageUrl?: string;
        metadata?: Record<string, unknown>;
        name: string;
        quantity?: number;
        recurring?: { count: number | null; interval: string } | null;
        referenceId?: string;
        requiresShipping?: boolean;
        taxAmount?: number;
        type?:
            | "product"
            | "subscription"
            | "service"
            | "ticket"
            | "donation"
            | "custom";
        unitPrice: number;
    }
    Index
    description?: string
    discountAmount?: number
    imageUrl?: string
    metadata?: Record<string, unknown>
    name: string
    quantity?: number
    recurring?: { count: number | null; interval: string } | null
    referenceId?: string
    requiresShipping?: boolean

    Whether this item is physically shippable. For external/ad-hoc catalogs with no Throttle product behind the item. Omit to infer from type (everything except service ships); set explicitly to force-include or force-exclude the item from calculated shipping.

    taxAmount?: number
    type?: "product" | "subscription" | "service" | "ticket" | "donation" | "custom"
    unitPrice: number