UNPKG

@shopgate/engage

Version:
7 lines 565 B
import{ERROR_PRODUCT_INVENTORIES}from"../constants";/** * Dispatches the ERROR_PRODUCT_INVENTORIES action object. * @param {string} productId The ID of the product. * @param {Array} locationCodes List of location codes. * @param {string} errorCode errorCode * @return {Object} The ERROR_PRODUCT_LOCATIONS action. */var errorProductInventories=function errorProductInventories(productId,locationCodes,errorCode){return{type:ERROR_PRODUCT_INVENTORIES,productId:productId,locationCodes:locationCodes,errorCode:errorCode};};export default errorProductInventories;