Skip to main content
Anchor to companyContactCreate

companyContactCreate

mutation

Requires write_customers access scope or write_companies access scope. Also: The shop must have access to B2B. Some operations may require additional plan capabilities.

Creates a company contact and the associated customer.

•ID!
required

The ID of the company that the company contact belongs to.

•CompanyContactInput!
required

The fields to use to create the company contact.


Was this section helpful?

Anchor to CompanyContactCreatePayload returnsCompanyContactCreatePayload returns

•CompanyContact

The created company contact.

•[BusinessCustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?