Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / QuoterOptions

Interface: QuoterOptions

Properties

endpoint

endpoint: string

The theme's cart-validate route (createStorefrontRoutes().cartValidate), e.g. /api/cart/validate.


fetch?

optional fetch?: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

The fetch to send with; the page's own by default.

Call Signature

(input, init?): Promise<Response>

MDN Reference

Parameters
input

RequestInfo | URL

init?

RequestInit

Returns

Promise<Response>

Call Signature

(input, init?): Promise<Response>

MDN Reference

Parameters
input

string | Request | URL

init?

RequestInit

Returns

Promise<Response>