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