@shopgate/pwa-common-commerce
Version:
Commerce library for the Shopgate Connect PWA.
5 lines • 422 B
JavaScript
import{REQUEST_PRODUCT_SHIPPING}from"../constants";/**
* Dispatches the REQUEST_PRODUCT_SHIPPING action.
* @param {string} productId The ID of the product for which the shipping is requested.
* @return {Object} The REQUEST_PRODUCT_SHIPPING action.
*/var requestProductShipping=function requestProductShipping(productId){return{type:REQUEST_PRODUCT_SHIPPING,productId:productId};};export default requestProductShipping;