Business units GraphQL
Served by BusinessUnitModule on commercetools, BusinessUnitModule on medusa and BusinessUnitModule on sfcc.
Each operation has its own page with its arguments, an example and the engines that serve it. The types link to their fields on the business units types page.
Operations
| Operation | Description | Served by |
|---|---|---|
businessUnitQuery | Get a specific business unit by ID | commercetoolsmedusasfcc |
businessUnitsQuery | Get all business units accessible to the current user | commercetoolsmedusasfcc |
businessUnitAddressCreateMutation | Add a new address to a business unit | commercetoolsmedusasfcc |
businessUnitAddressDeleteMutation | Remove an address from a business unit | commercetoolsmedusasfcc |
businessUnitAddressUpdateMutation | Update an existing address in a business unit | commercetoolsmedusasfcc |
businessUnitAssociateActivateMutation | Activate a previously deactivated associate, restoring their ability to act within the business unit. | commercetoolsmedusasfcc |
businessUnitAssociateDeactivateMutation | Deactivate an associate so they can no longer act within the business unit. | commercetoolsmedusasfcc |
businessUnitAssociateInviteMutation | Invite a new associate to the business unit with specified roles | commercetoolsmedusasfcc |
businessUnitAssociateRemoveMutation | Remove an associate from the business unit | commercetoolsmedusasfcc |
businessUnitAssociateRolesUpdateMutation | Update associate roles for an existing associate in the business unit Note: All current roles will be replaced with the provided roles | commercetoolsmedusasfcc |
businessUnitDefaultAddressUpdateMutation | Set the business unit's default shipping and/or billing address by referencing an existing address in its address book. | commercetoolsmedusasfcc |
businessUnitSwitchMutation | Set the active business context for B2B operations | commercetoolsmedusasfcc |
Types
| Type | Description |
|---|---|
BusinessUnitObject | |
BusinessUnitAddressCreateErrorUnion | |
BusinessUnitAddressCreateResponseObject | |
BusinessUnitAddressDeleteErrorUnion | |
BusinessUnitAddressDeleteResponseObject | |
BusinessUnitAddressUpdateErrorUnion | |
BusinessUnitAddressUpdateResponseObject | |
BusinessUnitAssociateObject | Customer associated with a business unit, including their assigned roles |
BusinessUnitAssociateInviteErrorUnion | |
BusinessUnitAssociateInviteResponseObject | |
BusinessUnitAssociateRemoveErrorUnion | |
BusinessUnitAssociateRemoveResponseObject | |
BusinessUnitAssociateResultObject | Paginated result containing business unit associates |
BusinessUnitAssociateRolesUpdateErrorUnion | |
BusinessUnitAssociateRolesUpdateResponseObject | |
BusinessUnitAssociateStatusTypeEnum | Whether an associate is active or has been deactivated within a unit |
BusinessUnitAssociateStatusUpdateErrorUnion | |
BusinessUnitAssociateStatusUpdateResponseObject | |
BusinessUnitCapabilityTypeEnum | Normalized, engine-agnostic capabilities a role grants within a business unit. |
BusinessUnitCreditObject | A company's credit on account, in the currency of its limit. |
BusinessUnitDefaultAddressUpdateErrorUnion | |
BusinessUnitDefaultAddressUpdateResponseObject | |
BusinessUnitErrorObject | A change to a business unit the caller may not make. |
BusinessUnitErrorCodeTypeEnum | Why a change to a business unit was refused. |
BusinessUnitInvitationObject | An invitation to someone who has yet to set up their account. |
BusinessUnitInvitationResultObject | Paginated result containing a business unit's pending invitations |
BusinessUnitPaymentTermsObject | When a company pays for what it buys on account. |
BusinessUnitRoleObject | Roles that can be assigned to customers in a business unit |

