@usethrottle/cart
    Preparing search index...

    Interface CreateCartInput

    interface CreateCartInput {
        applicationId: string;
        currency?: string;
        customerEmail?: string;
        customerId?: string;
        lineItems?: { quantity?: number; referenceId: string }[];
        lineResolver?: { extensionId: string };
        locale?: string;
        metadata?: Record<string, unknown>;
        netN?: number | null;
    }
    Index
    applicationId: string
    currency?: string
    customerEmail?: string

    Optional lightweight email capture (no full customer record required).

    customerId?: string
    lineItems?: { quantity?: number; referenceId: string }[]

    Resolved lines to add at create (requires lineResolver): 1 to 50, each referenceId at most once, priced in one call to the app, all or nothing.

    lineResolver?: { extensionId: string }

    Make this a resolved cart: the installed app with this extension id prices its lines (add them with items.addResolvedItem()). Requires currency: the environment's currency or one of its extra cart currencies (cartCurrencies).

    locale?: string

    Buyer locale passed to the app that prices the lines (BCP 47, e.g. en-GB).

    metadata?: Record<string, unknown>
    netN?: number | null