Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to companyAssignMainContact

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.

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

The company for which the main contact is assigned.

The list of errors that occurred from executing the mutation.


Was this section helpful?