> For the complete documentation index, see [llms.txt](https://docs.b2b-sellers.com/b2b-platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.b2b-sellers.com/b2b-platform/user-guide/using-the-b2b-platform/customer-portal/managing-employees.md).

# Managing Employees

Creating, inviting, editing and deactivating the employees of a company

Managing employees covers creating new ones, inviting them, and withdrawing their access.

## Employee list view

Anyone tied to your company can view the employee list at `/b2b_platform/employee`. Making changes requires the administrator role for the given company.

![](https://3555939725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN7trivXBQb3doKIrPW2i%2Fuploads%2FizFTZYQnalBJAXRdO2NK%2Femp-list.png?alt=media)

You can filter the list with the search box, or hide inactive employees, which hides everyone marked with an X in the **Active** column.

## Adding or inviting new employees

You can create employees while logged in as a company administrator, or through the API.

![Click the button to proceed to /b2b\_platform/employee/create](https://3555939725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN7trivXBQb3doKIrPW2i%2Fuploads%2FwaZ0rqTBFTNbT51C88ig%2Femp-create-button.png?alt=media)

You have three options:

* **Employee does not yet have access** — the person is not yet registered in the shop.
* **Employee already has an account** — the person is already registered and part of another company you manage.
* **Import / export via CSV file**

### Sharing the URL to create a new employee

Sharing the link in this view generates a one-time link that lets someone sign up themselves.

You must choose the role the person will be assigned in order to proceed.

{% hint style="info" %}
The administrator role cannot be assigned automatically. Administrators have to be created manually.
{% endhint %}

![](https://3555939725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN7trivXBQb3doKIrPW2i%2Fuploads%2FlZXa17Rj3MQ3TFVgx1GH%2Femp-invite-link.png?alt=media)

The invited person sees this screen to complete the sign-up:

![](https://3555939725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN7trivXBQb3doKIrPW2i%2Fuploads%2FxXyIg01tgfaK2NDiAffk%2Femp-invite-signup.png?alt=media)

How long an invitation link stays valid is controlled by the core setting **Employee invitation link validity in days**.

### Entering employee information directly

Entering an employee directly lets you set all data yourself. Required fields are marked with an asterisk.

| Field                     | Notes                                                                                                       |
| ------------------------- | ----------------------------------------------------------------------------------------------------------- |
| Salutation \*             | Choose from options                                                                                         |
| Title                     | Free text                                                                                                   |
| First name \*             | Free text                                                                                                   |
| Last name \*              | Free text                                                                                                   |
| Department                | Free text                                                                                                   |
| Is an administrator       | Checking this makes the new user an administrator                                                           |
| Role \*                   | Choose from options. Roles are maintained at `/b2b_platform/roles`                                          |
| Active                    | Lets the person log in once the account is created. Leave unchecked if further verification is needed first |
| Phone number              | Free text                                                                                                   |
| Mobile phone number       | Free text                                                                                                   |
| E-mail \*                 | Must be a valid e-mail address                                                                              |
| Login target              | Choose a destination, or leave empty to use the shop default                                                |
| Activity tracking consent | If checked, additional data is tracked and made available to sales representatives                          |

### Employee already has an account

If you buy for two companies, A and B, and you have an employee in company A whom you also want in company B, add them by entering their e-mail address here:

![](https://3555939725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN7trivXBQb3doKIrPW2i%2Fuploads%2FoqbJeibsiyv13FhujEdK%2Femp-assign-existing.png?alt=media)

{% hint style="info" %}
You can also reach this directly at `/b2b_platform/employee/assign`.
{% endhint %}

### Import / export via CSV file

On this tab you can import employees or export the existing ones. To get the format right, export a CSV first and adapt it before uploading it again.

![You can access this via /b2b\_platform/employee/import-export](https://3555939725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN7trivXBQb3doKIrPW2i%2Fuploads%2F9oqwERimK9Zef5neZH7V%2Femp-import-export.png?alt=media)

## Managing existing employees

### Modifying employee data

To manage an existing employee, click the magnifier icon on the right.

![](https://3555939725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN7trivXBQb3doKIrPW2i%2Fuploads%2FGk5YQdGS3sgzqDGTjYIU%2Femp-edit-icon.png?alt=media)

The next screen lets you edit all the data you can provide when creating an employee, plus one addition: the preferred customer for that employee. This determines whether a company is selected at each login (default) or whether the employee is always logged into one specific company. Employees can change this themselves.

### Unlinking employees

To unlink an employee, click the X icon next to the magnifier.

![](https://3555939725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN7trivXBQb3doKIrPW2i%2Fuploads%2FLWZDRenHi2FtB36pWKHw%2Femp-unlink-icon.png?alt=media)

A confirmation dialog appears. On confirmation the employee is unlinked from the current company.

![](https://3555939725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN7trivXBQb3doKIrPW2i%2Fuploads%2FcNXEeoihLwgd4aR0XuLu%2Femp-unlink-confirm.png?alt=media)

## FAQ

* **I want to withdraw someone's access but keep the account so I can still see their orders. How?**
  * Edit the employee and clear the **Active** flag. The employee is then listed as inactive and can no longer log in.
* **How can an employee account be deleted entirely?**
  * Deletion from within the B2B Platform is only possible if the shop operator has enabled the core setting **Allow to delete employee account**, which permits self-service deletion of the employee record. Otherwise employees can only be deleted in the Shopware administration, or be set to inactive or unlinked.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.b2b-sellers.com/b2b-platform/user-guide/using-the-b2b-platform/customer-portal/managing-employees.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
