Business Customer User Error
Requires access scope or
access scope.
An error that happens during the execution of a business customer mutation.
Anchor to FieldsFields
- Anchor to codecode•Business
Customer Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Deletes a list of companies.
- Anchor to companyIdscompany•[ID!]!required
Ids A list of IDs of companies to delete.
Arguments
- Anchor to deletedCompanyIdsdeleted•[ID!]
Company Ids A list of IDs of the deleted companies.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Deletes a company address.
- Anchor to addressIdaddress•ID!required
Id The ID of the address to delete.
Arguments
- Anchor to deletedAddressIddeleted•ID
Address Id The ID of the deleted address.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Assigns the customer as a company contact.
- Anchor to companyIdcompany•ID!required
Id The ID of the company to assign the contact to.
- Anchor to customerIdcustomer•ID!required
Id The ID of the customer to assign as the contact.
Arguments
- 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.
Fields
- •mutation
Assigns the main contact for the company.
- Anchor to companyContactIdcompany•ID!required
Contact Id The ID of the company contact to be assigned as the main contact.
- Anchor to companyIdcompany•ID!required
Id The ID of the company to assign the main contact to.
Arguments
- Anchor to companycompany•Company
The company for which the main contact is assigned.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Assigns a role to a contact for a location.
- Anchor to companyContactIdcompany•ID!required
Contact Id The ID of the contact to assign a role to.
- Anchor to companyContactRoleIdcompany•ID!required
Contact Role Id The ID of the role to assign to a contact.
- Anchor to companyLocationIdcompany•ID!required
Location Id The ID of the location to assign a role to a contact.
Arguments
- Anchor to companyContactRoleAssignmentcompany•Company
Contact Role Assignment Contact Role Assignment The company contact role assignment.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Assigns roles on a company contact.
- Anchor to companyContactIdcompany•ID!required
Contact Id The contact whose roles are being assigned.
- Anchor to rolesToAssignroles•[Company
To Assign Contact Role Assign!]!required The new roles to assign.
Arguments
- Anchor to roleAssignmentsrole•[Company
Assignments Contact Role Assignment!] A list of newly created assignments of company contacts to a company location.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Creates a company contact and the associated customer.
- Anchor to companyIdcompany•ID!required
Id The ID of the company that the company contact belongs to.
- Anchor to inputinput•Company
Contact Input!required The fields to use to create the company contact.
Arguments
- 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.
Fields
- •mutation
Deletes a company contact.
- Anchor to companyContactIdcompany
Contact Id
Arguments