QueryActions (Commerce Engine)

This is for:

Developer
Important

The Headless commerce engine, controllers, and actions are in open beta and therefore under active development. Reach out to your Coveo team for support in adopting them.

The query action creators.

Loader Function

loadQueryActions

Loads the query reducer and returns possible action creators.

Parameters

  • engine: CommerceEngine

    The headless commerce engine.

Returns QueryActionCreators: The query action creators.

QueryActionCreators

updateQuery

Updates the basic query expression (q).

Parameters

Returns PayloadAction<UpdateQueryActionCreatorPayload>: A dispatchable action.

UpdateQueryActionCreatorPayload

Properties

  • query?: string

    The basic query expression (e.g., acme tornado seeds).