Setup

To use the Ecom API, install the @wix/ecom package using npm or Yarn:

Copy Code
npm install @wix/ecom

or

Copy Code
yarn add @wix/ecom

Then import ecom from @wix/ecom:

Copy Code
import ecom from '@wix/ecom'
Was this helpful?
Yes
No