@shopgate/engage
Version:
Shopgate's ENGAGE library.
5 lines • 422 B
JavaScript
import{REQUEST_PRODUCT_LOCATIONS}from"../constants";/**
* Dispatches the REQUEST_PRODUCT_LOCATIONS action.
* @param {string} productId The ID of the product to request the locations for.
* @return {Object} The REQUEST_PRODUCT_LOCATIONS action.
*/var requestProductLocations=function requestProductLocations(productId){return{type:REQUEST_PRODUCT_LOCATIONS,productId:productId};};export default requestProductLocations;