Company Assign Customer As Contact Payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to companyContactcompany•Company
Contact Contact The created company contact.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]! non-null The list of errors that occurred from executing the mutation.
Anchor to Mutations with this payloadMutations with this payload
- •mutation
Adds an existing
Customeras a contact to aCompany. Companies are business entities that make purchases from the merchant's store. Use this mutation when you have a customer who needs to be associated with a B2B company to make purchases on behalf of that company.The mutation returns the newly created
that links the customer to the company. After assignment, the customer becomes a company contact who can place orders on behalf of the company with access to any catalogs, pricing, and payment terms configured for the company's locations.- Anchor to companyIdcompany•ID!
Id required The ID of the company to assign the contact to.
- Anchor to customerIdcustomer•ID!
Id required The ID of the customer to assign as the contact.
Arguments