Skip to content

BusinessUnitModule

Module in @evolve-framework/medusa

Business units, served by @evolve-framework/medusa-plugin-company.

import { BusinessUnitModule } from "@evolve-framework/medusa/modules";

Serves the Business units part of the GraphQL API: businessUnit, businessUnits, businessUnitAddressCreate, businessUnitAddressDelete, businessUnitAddressUpdate, businessUnitAssociateActivate, businessUnitAssociateDeactivate, businessUnitAssociateInvite, businessUnitAssociateRemove, businessUnitAssociateRolesUpdate, businessUnitDefaultAddressUpdate, businessUnitSwitch.

new BusinessUnitModule(options?: BusinessUnitModuleOptions)
OptionTypeDescription
notifications?UserNotificationClient

Where the associate-invited notification goes, a client from @evolve-framework/user-notifications. Without one none is published.

Extends AbstractModule<unknown>.

The same module on commercetools and sfcc.