UNPKG

@shopgate/engage

Version:
6 lines 510 B
import{REQUEST_INVENTORIES}from"../constants";/** * Dispatches the REQUEST_PRODUCT_INVENTORIES action. * @param {string} productCode The code of the product to request the inventories for. * @param {Array} locationCodes Array of location codes. * @return {Object} The REQUEST_PRODUCT_INVENTORIES action. */var requestInventories=function requestInventories(productCode,locationCodes){return{type:REQUEST_INVENTORIES,productCode:productCode,locationCodes:locationCodes};};export default requestInventories;