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