Skip to main content

Interface: UseCheckoutOptions

Defined in: composables/react/useCheckout.ts:37

Options for useCheckout.

Properties​

companyId?​

optional companyId?: number

Defined in: composables/react/useCheckout.ts:43

Active company id used to resolve the contact's company addresses.


configuration?​

optional configuration?: object

Defined in: composables/react/useCheckout.ts:47

Portal configuration: image search/variant filters passed to cart mutations.

imageSearchFiltersGrid?​

optional imageSearchFiltersGrid?: MediaImageProductSearchInput

imageVariantFiltersSmall?​

optional imageVariantFiltersSmall?: TransformationsInput


graphqlClient​

graphqlClient: GraphQLClient

Defined in: composables/react/useCheckout.ts:39

GraphQL client the hook derives its Services bundle from.


language?​

optional language?: string

Defined in: composables/react/useCheckout.ts:45

Checkout language. Defaults to 'NL'.


user​

user: AnyUser

Defined in: composables/react/useCheckout.ts:41

The signed-in user; supplies the saved default addresses pre-populated into the cart.