companyAssignCustomerAsContact - admin-graphql - MUTATION
Version: 2025-01
Description:
Assigns the customer as a company contact.
Access Scopes
`write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store.
Arguments
-
companyId:
ID! -
The ID of the company to assign the contact to.
-
customerId:
ID! -
The ID of the customer to assign as the contact.
Returns
-
companyContact:
CompanyContact
The created company contact.
-
userErrors:
BusinessCustomerUserError!
The list of errors that occurred from executing the mutation.
Examples