@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?
Returns
Promise<QuoteResult>