Skip to main content

Interface: UsePriceRequestOptions

Defined in: composables/vue/usePriceRequest.ts:28

Properties​

onSubmit?​

optional onSubmit?: (items, comment) => void | Promise<void>

Defined in: composables/vue/usePriceRequest.ts:34

Sends the finished request. Receives the list and the shopper's comment; resolve to report success. Supplied by the host — the API has no mutation for this.

Parameters​

items​

PriceRequestItem[]

comment​

string

Returns​

void | Promise<void>


storageKey?​

optional storageKey?: string

Defined in: composables/vue/usePriceRequest.ts:36

Overrides the localStorage key, for hosts running several shops per origin.