@shopgate/engage
Version:
Shopgate's ENGAGE library.
6 lines • 455 B
JavaScript
import{ERROR_PRODUCT_LOCATIONS}from"../constants";/**
* Dispatches the ERROR_PRODUCT_LOCATIONS action object.
* @param {string} productId The ID of the product.
* @param {string} errorCode errorCode
* @return {Object} The ERROR_PRODUCT_LOCATIONS action.
*/var errorProductLocations=function errorProductLocations(productId,errorCode){return{type:ERROR_PRODUCT_LOCATIONS,productId:productId,errorCode:errorCode};};export default errorProductLocations;