To use the Tasks API, install the @wix/crm
package.
To install the package, follow the instructions below based on your development environment.
When developing with:
npm install @wix/crm
or
yarn add @wix/crm
When developing CLI or self-hosted Wix apps, as well as headless apps or sites, run the following command:
npm install @wix/crm
or
yarn add @wix/crm
To import the package in your code:
import { tasks } from "@wix/crm";