To use the Products API, install the @wix/stores package using npm or Yarn:
@wix/stores
npm install @wix/stores
or
yarn add @wix/stores
Then import { products } from @wix/stores:
{ products }
import { products } from "@wix/stores";