Setup

To use the SubmittedContact API, install the @wix/crm package using npm or Yarn:

Copy
1
npm install @wix/crm

or

Copy
1
yarn add @wix/crm

Then import { submittedContact } from @wix/crm:

Copy
1
import { submittedContact } from '@wix/crm'
Was this helpful?
Yes
No

appendOrCreateContact( )

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Appends an existing contact or creates a contact if it doesn't exist.

For internal docs, see Submit Contacts.

Copy
function appendOrCreateContact(options: AppendOrCreateContactOptions): Promise<SubmitContactResponse>
Method Parameters
optionsAppendOrCreateContactOptions
Returns
Return Type:Promise<SubmitContactResponse>
Was this helpful?
Yes
No