Skip to navigation

ActiveCompany

OBJECT
The current customer's active B2B company.

Fields

addressesCompanyAddressConnectionRequired
Paginated list of addresses associated with the customer's company.
companyRolesCompanyRoleConnectionRequiredDeprecated

A paginated list of the roles that can be assigned to a user of the current customer’s company, including both predefined and custom company roles.

Deprecated: Alpha version. Do not use in production.

ordersOrdersConnectionOptional
A paginated list of orders placed under the current customer's company.
addressCompanyAddressOptionalDeprecated

A single company address by id.

Deprecated: Alpha version. Do not use in production.

companyNameStringOptionalDeprecated

The name of the current login b2b user’s active company. Null when the customer has no active company, such as a super admin who is not masquerading as one.

Deprecated: Alpha version. Do not use in production.

currentUserCurrentUserOptionalDeprecated

The authenticated shopper’s own company-scoped user data, or null if the caller is not a company user, B2B is disabled, or the feature flag is off.

Deprecated: Alpha version. Do not use in production.

userEmailCheckUserEmailCheckResultOptionalDeprecated

Check whether an email address is already registered, and if so in what capacity, before creating or updating a company user. The store and channel the check runs against are taken from the authenticated request, not from arguments.

Deprecated: Alpha version. Do not use in production.

usersCompanyUserConnectionOptionalDeprecated

A paginated list of the users of the company the customer is currently representing, including a masqueraded or subsidiary company.

Deprecated: Alpha version. Do not use in production.

Referenced by