@shopgate/pwa-common-commerce
Version:
Commerce library for the Shopgate Connect PWA.
14 lines (13 loc) • 485 B
JavaScript
import fetchProductRelations from "./fetchProductRelations";
/**
* Action starts product relation fetching process.
* Returns early if product relation cache is still valid.
* @param {Object} params Params.
* @param {string} params.productId Product Id.
* @param {string} params.type Type (see constants).
* @param {number} params.limit Query limit.
* @returns {Function}
* @deprecated
*/
const getProductRelations = fetchProductRelations;
export default getProductRelations;