Anchor to companyUpdatecompany
mutationcompany Update
Requires access scope or access scope. Also: The API client must be installed on a Shopify Plus store.
Updates a Company with 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.
Anchor to Arguments
Arguments
- Anchor to companyIdcompany•ID!
Id required The ID of the company to be updated.
- Anchor to inputinput•Company
Input! required The input fields to update the company.
Was this section helpful?
- 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.
Was this section helpful?