Skip to main content

Interface: UseOrdersOptions

Defined in: composables/vue/useOrders.ts:46

Properties​

afterReorder?​

optional afterReorder?: (cart) => void

Defined in: composables/vue/useOrders.ts:66

Parameters​

cart​

Cart

Returns​

void


channelIds?​

optional channelIds?: number[]

Defined in: composables/vue/useOrders.ts:64


companyId?​

optional companyId?: Ref<number | undefined, number | undefined>

Defined in: composables/vue/useOrders.ts:49


configuration?​

optional configuration?: object

Defined in: composables/vue/useOrders.ts:60

imageSearchFiltersGrid?​

optional imageSearchFiltersGrid?: MediaImageProductSearchInput

imageVariantFiltersSmall?​

optional imageVariantFiltersSmall?: TransformationsInput


graphqlClient​

graphqlClient: GraphQLClient

Defined in: composables/vue/useOrders.ts:47


initialSearchForm?​

optional initialSearchForm?: OrderSearchForm

Defined in: composables/vue/useOrders.ts:59

Seed the search/filter form on mount — e.g. rehydrated from the URL query so a bookmarked/shared filtered view restores. The consumer owns the fetch.


itemsPerPage?​

optional itemsPerPage?: number

Defined in: composables/vue/useOrders.ts:51


language?​

optional language?: Ref<string, string>

Defined in: composables/vue/useOrders.ts:50


onCartCreated?​

optional onCartCreated?: (cart) => void

Defined in: composables/vue/useOrders.ts:65

Parameters​

cart​

Cart

Returns​

void


orderStatuses?​

optional orderStatuses?: string[]

Defined in: composables/vue/useOrders.ts:53

Default statuses to filter by


termFields?​

optional termFields?: OrderSearchFields[]

Defined in: composables/vue/useOrders.ts:54


user​

user: Ref<AnyUser>

Defined in: composables/vue/useOrders.ts:48