ProductListingActions (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 product listing action creators.

In Open Beta. Reach out to your Coveo team for support in adopting this.

Loader Function

loadProductListingActions

Loads the product listing reducer and returns the possible action creators.

In Open Beta. Reach out to your Coveo team for support in adopting this.

Parameters

  • engine: CommerceEngine

    The headless engine.

Returns ProductListingActionCreators: The product listing action creators.

In Open Beta. Reach out to your Coveo team for support in adopting this.

ProductListingActionCreators

fetchProductListing

Refreshes the product listing.

Returns AsyncThunkAction<QueryCommerceAPIThunkReturn, void, AsyncThunkCommerceOptions<StateNeededByQueryCommerceAPI>>: A dispatchable action.