@shopgate/pwa-common-commerce
Version:
Commerce library for the Shopgate Connect PWA.
5 lines • 440 B
JavaScript
import{REQUEST_PRODUCT_PROPERTIES}from"../constants";/**
* Creates the dispatched REQUEST_PRODUCT_PROPERTIES action object.
* @param {string} productId The ID of the product that requests properties.
* @return {Object} The REQUEST_PRODUCT_PROPERTIES action.
*/var requestProductProperties=function requestProductProperties(productId){return{type:REQUEST_PRODUCT_PROPERTIES,productId:productId};};export default requestProductProperties;