Skip to main content
Anchor to companyAssignMainContact

companyAssignMainContact

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.

Assigns the main contact for the company.

•ID!
required

The ID of the company contact to be assigned as the main contact.

•ID!
required

The ID of the company to assign the main contact to.


Was this section helpful?

Anchor to CompanyAssignMainContactPayload returnsCompanyAssignMainContactPayload returns

•Company

The company for which the main contact is assigned.

•[BusinessCustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?