Anchor to section titled 'undefined'

companyAssignMainContact
mutation

Requires write_customers access scope or write_companies access scope. Also: The API client must be installed on a Shopify Plus store.

Assigns the main contact for the company.


Anchor to companyContactId
companyContactId
required

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

Anchor to companyId
companyId
required

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


Was this section helpful?

The company for which the main contact is assigned.

The list of errors that occurred from executing the mutation.


Was this section helpful?