SearchParametersActions

This is for:

Developer

The search parameters action creators.

Loader Function

loadSearchParametersActions

Loads the commerce facet order, facet set, pagination, query, query set, and sort reducers and returns the available search parameters action creators.

Parameters

  • engine: CommerceEngine

    The headless commerce engine.

Returns SearchParametersActionCreators: The search parameters action creators.

SearchParametersActionCreators

restoreSearchParameters

Restores the search parameters.

Parameters

  • payload: CommerceSearchParameters

    The action creator payload.

Returns PayloadAction<RestoreSearchParametersPayload>: A dispatchable action.