Anchor to companyCreatecompany
mutationcompany Create
Requires access scope or access scope. Also: The API client must be installed on a Shopify Plus store.
Creates a Company for B2B commerce. This mutation creates the company and can optionally create an initial and in 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.
Note
Creating a company without a name returns an error.
Learn more about creating companies for B2B.
Anchor to Arguments
Arguments
- Anchor to inputinput•Company
Create Input! required The fields to use when creating the company.
Was this section helpful?
- 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.
Was this section helpful?