GraphQL Schema Updates
B2B company users can now update their own account settings through the Storefront GraphQL API. This mutation is rolling out gradually and may not be available on all stores yet.
Storefront GraphQL
- Update company user account: new
updateCompanyUsermutation onCompanyMutationslets an authenticated B2B company user change their first name, last name, phone, email, and password, plus account form fields and B2B extra fields. Backed by newUpdateCompanyUserInput,CompanyUserFormFieldsInput(withTextCompanyUserFormFieldInput,NumberCompanyUserFormFieldInput, andMultipleChoiceCompanyUserFormFieldInput),UpdateCompanyUserResult, andUpdateCompanyUserErrortypes
For schema details, browse the Storefront GraphQL API reference.