Anchor to section titled 'undefined'

companyAssignCustomerAsContact
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 customer as a company contact.


Anchor to companyId
companyId
required

The ID of the company to assign the contact to.

Anchor to customerId
customerId
required

The ID of the customer to assign as the contact.


Was this section helpful?

The created company contact.

The list of errors that occurred from executing the mutation.


Was this section helpful?