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•ID!required
Contact Id The ID of the company contact to delete.
Arguments
- Anchor to deletedCompanyContactIddeleted•ID
Company Contact Id The ID of the deleted company contact.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Removes a company contact from a Company.
- Anchor to companyContactIdcompany•ID!required
Contact Id The ID of the company contact to remove from the Company.
Arguments
- Anchor to removedCompanyContactIdremoved•ID
Company Contact Id The ID of the removed company contact.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Revokes a role on a company contact.
- Anchor to companyContactIdcompany•ID!required
Contact Id The ID of the contact to revoke a role from.
- Anchor to companyContactRoleAssignmentIdcompany•ID!required
Contact Role Assignment Id The ID of the role assignment to revoke from a contact.
Arguments
- Anchor to revokedCompanyContactRoleAssignmentIdrevoked•ID
Company Contact Role Assignment Id The role assignment that was revoked.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Revokes roles on a company contact.
- Anchor to companyContactIdcompany•ID!required
Contact Id The contact whose roles are being revoked.
- Anchor to revokeAllrevoke•BooleanDefault:false
All Flag to revoke all roles on the contact.
- Anchor to roleAssignmentIdsrole•[ID!]
Assignment Ids The current role assignment IDs to revoke.
Arguments
- Anchor to revokedRoleAssignmentIdsrevoked•[ID!]
Role Assignment Ids A list of role assignment IDs that were removed from the 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 one or more company contacts.
- Anchor to companyContactIdscompany•[ID!]!required
Contact Ids The list of IDs of the company contacts to delete.
Arguments
- Anchor to deletedCompanyContactIdsdeleted•[ID!]
Company Contact Ids The list of IDs of the deleted company contacts.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a company contact.
- Anchor to companyContactIdcompany•ID!required
Contact Id The ID of the company contact to be updated.
- Anchor to inputinput•Company
Contact Input!required The fields to use to update the company contact.
Arguments
- Anchor to companyContactcompany•Company
Contact Contact The updated company contact.
- 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.
- Anchor to inputinput•Company
Create Input!required The fields to use when creating the company.
Arguments
- Anchor to companycompany•Company
The created company.
- 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.
- •ID!required
The ID of the company to delete.
Arguments
- Anchor to deletedCompanyIddeleted•ID
Company Id The ID of the deleted company.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates an address on a company location.
- Anchor to addressaddress•Company
Address Input!required The input fields to use to update the address.
- Anchor to addressTypesaddress•[Company
Types Address Type!]!required The list of address types on the location to update.
- Anchor to locationIdlocation•ID!required
Id The ID of the company location to update addresses on.
Arguments
- Anchor to addressesaddresses•[Company
Address!] The list of updated addresses on the company location.
- 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 location.
- Anchor to companyLocationIdcompany•ID!required
Location Id The location whose roles are being assigned.
- Anchor to rolesToAssignroles•[Company
To Assign Location Role Assign!]!required The 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 one or more mappings between a staff member at a shop and a company location.
- Anchor to companyLocationIdcompany•ID!required
Location Id The ID of the company location to assign the staff member to.
- Anchor to staffMemberIdsstaff•[ID!]!required
Member Ids The list of IDs of the staff members to assign.
Arguments
- Anchor to companyLocationStaffMemberAssignmentscompany•[Company
Location Staff Member Assignments Location Staff Member Assignment!] The list of created staff member assignments.
- 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 location.
- Anchor to companyIdcompany•ID!required
Id The ID of the company that the company location belongs to.
- Anchor to inputinput•Company
Location Input!required The fields to use to create the company location.
Arguments
- Anchor to companyLocationcompany•Company
Location Location The created company location.
- 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 location.
- Anchor to companyLocationIdcompany•ID!required
Location Id The ID of the company location to delete.
Arguments
- Anchor to deletedCompanyLocationIddeleted•ID
Company Location Id The ID of the deleted company location.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Deletes one or more existing mappings between a staff member at a shop and a company location.
- Anchor to companyLocationStaffMemberAssignmentIdscompany•[ID!]!required
Location Staff Member Assignment Ids The list of IDs of the company location staff member assignment to delete.
Arguments
- Anchor to deletedCompanyLocationStaffMemberAssignmentIdsdeleted•[ID!]
Company Location Staff Member Assignment Ids The list of IDs of the deleted staff member assignment.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Revokes roles on a company location.
- Anchor to companyLocationIdcompany•ID!required
Location Id The location whose roles are being revoked.
- Anchor to rolesToRevokeroles•[ID!]!required
To Revoke The current roles to revoke.
Arguments
- Anchor to revokedRoleAssignmentIdsrevoked•[ID!]
Role Assignment Ids A list of role assignment IDs that were removed from the company location.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Deletes a list of company locations.
- Anchor to companyLocationIdscompany•[ID!]!required
Location Ids A list of IDs of company locations to delete.
Arguments
- Anchor to deletedCompanyLocationIdsdeleted•[ID!]
Company Location Ids A list of IDs of the deleted company locations.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Sets the tax settings for a company location.
- Anchor to companyLocationIdcompany•ID!required
Location Id The ID of the company location that the tax settings get assigned to.
- Anchor to exemptionsToAssignexemptions•[Tax
To Assign Exemption!] The list of tax exemptions to assign to the company location.
- Anchor to exemptionsToRemoveexemptions•[Tax
To Remove Exemption!] The list of tax exemptions to remove from the company location.
- Anchor to taxExempttax•Boolean
Exempt Whether the location is exempt from taxes.
- Anchor to taxRegistrationIdtax•String
Registration Id The unique tax registration ID for the company location.
Arguments
- Anchor to companyLocationcompany•Company
Location Location The company location with the updated tax settings.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a company location.
- Anchor to companyLocationIdcompany•ID!required
Location Id The ID of the company location to update.
- Anchor to inputinput•Company
Location Update Input!required The input fields to update in the company location.
Arguments
- Anchor to companyLocationcompany•Company
Location Location The updated company location.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Revokes the main contact from the company.
- Anchor to companyIdcompany•ID!required
Id The ID of the company to revoke the main contact from.
Arguments
- Anchor to companycompany•Company
The company from which the main contact is revoked.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a company.
- Anchor to companyIdcompany•ID!required
Id The ID of the company to be updated.
- Anchor to inputinput•Company
Input!required The input fields to update the company.
Arguments
- Anchor to companycompany•Company
The updated company.
- Anchor to userErrorsuser•[Business
Errors Customer User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Deprecated mutations
- •mutationDeprecated
- •mutationDeprecated
- •mutationDeprecated
- •mutationDeprecated