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.
- •mutation
Deletes a company address.
- •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.- •mutation
Assigns the main contact for the company.
- •mutation
Assigns a role to a contact for a location.
- •mutation
Assigns roles on a company contact.
- •mutation
Creates a company contact and the associated customer.
- •mutation
Deletes a company contact.
- •mutation
Removes a company contact from a Company.
- •mutation
Revokes a role on a company contact.
- •mutation
Revokes roles on a company contact.
- •mutation
Deletes one or more company contacts.
- •mutation
Updates a company contact.
- •mutation
Creates a
Companyfor B2B commerce. This mutation creates the company and can optionally create an initialandin a single operation. Company contacts are people who place orders on behalf of the company. Company locations are branches or offices with their own billing and shipping addresses.NoteCreating a company without a
namereturns an error.Learn more about creating companies for B2B.
- •mutation
Deletes a company.
- •mutation
Updates an address on a company location.
- •mutation
Assigns roles on a company location.
- •mutation
Creates one or more mappings between a staff member at a shop and a company location.
- •mutation
Creates a new location for a
Company. Company locations are branches or offices where B2B customers can place orders with specific pricing, catalogs, and payment terms.Creates a company location. Each location can have its own billing and shipping addresses, tax settings, and
buyer experience configuration. You can assign staff members andobjects to manage the location.- •mutation
Deletes a company location.
- •mutation
Deletes one or more existing mappings between a staff member at a shop and a company location.
- •mutation
Revokes roles on a company location.
- •mutation
Deletes a list of company locations.
- •mutation
Sets the tax settings for a company location.
- •mutation
Updates a company location's information and B2B checkout settings. Company locations are branches or offices where
members place orders on behalf of the company. Contacts must be assigned to a location throughto place orders.The mutation modifies details such as the location's name, contact information, preferred locale, and internal notes. You can also configure the B2B checkout experience through
settings that control whether orders require merchant review,settings, shipping address editing permissions, andrequirements.Learn more about managing company locations.
- •mutation
Revokes the main contact from the company.
- •mutation
Updates a
Companywith new information. Companies represent business customers that can have multiple contacts and locations with specific pricing, payment terms, and checkout settings.The mutation accepts the company's ID and an input object containing the fields to update. You can modify the company name, add or update internal notes, set an external ID for integration with other systems, or adjust the customer relationship start date.
Learn more about building B2B features.
Deprecated mutations
- •mutationDeprecated
- •mutationDeprecated
- •mutationDeprecated
- •mutationDeprecated