Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / Quoter

Interface: Quoter

Methods

quote()

quote(lines, asks?): Promise<QuoteResult>

Ask what lines would cost, with the destination, code and phone the shopper gave so far.

Parameters

lines

{ items: object[]; } | { offerId?: string; productId: string; productName: string; quantity?: number; variantId?: string; variantLabel?: string; variantSelections?: object[]; }

asks?

CartQuoteOptions

Returns

Promise<QuoteResult>