Company Create Payload
Return type for mutation.
Anchor to FieldsFields
- company (Company)
- userErrors ([BusinessCustomerUserError!]!)
- 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.
Anchor to Mutations with this payloadMutations with this payload
- companyCreate (CompanyCreatePayload)
- •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.Note:Creating a company without a
namereturns an error.Note: Creating a company without a <code>name</code> <a href="https://shopify.dev/docs/api/admin-graphql/latest/mutations/companycreate?example=creating-a-company-without-a-name-returns-an-error">returns an error</a>.
Learn more about creating companies for B2B.
- Anchor to inputinput•Company
Create Input! required The fields to use when creating the company.
Arguments