[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [index](../README) / Quoter

# Interface: Quoter

## Methods

### quote()

> **quote**(`lines`, `asks?`): `Promise`\<[`QuoteResult`](../type-aliases/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`](CartQuoteOptions)

#### Returns

`Promise`\<[`QuoteResult`](../type-aliases/QuoteResult)\>
