Permissions

To enable other users to track route and order statuses, add them to the Yandex.Courier interface and configure their permissions.

  1. Add a company manager
  2. Configure permissions
  3. Deleting a user

Add a company manager

Access is provided to the account with Yandex ID.

Note. To log in using a corporate or any other email address, create an account with Yandex ID at https://passport.yandex.com/auth/preregister.
Via the Logistics Coordinator Workplace interface
  1. In the menu on the left, select Settings → Managers.
  2. At the bottom of the page, specify a new user's email address.
  3. To add multiple users at a time, specify their email addresses separated by commas.
  4. Click Add.

In the API
Note. When adding a user via the API, assign them the manager, dispatcher, or admin role.

Send a request to the users resource. In it, specify the user's login and role:

Request

cURL

curl -H "Content-Type: application/json" -H "Authorization:  Auth your-OAuth-token" -X POST -d @<File_path_in_UTF-8_encoding> https://courier.yandex.ru/api/v1/companies/<your-company-id>/users
Copied to clipboard

File

{"login":"alice.the.girl", "role":"manager"}
Copied to clipboard
Result:
{
  "id": 197162,
  "login": "alice.the.girl",
  "role": "manager"
}

Configure permissions

After adding an employee:

Via the Logistics Coordinator Workplace interface
  1. Open the user card.

  2. Choose a role: Manager, Dispatcher, or Administrator.

  3. When you assign the Manager or Dispatcher role to a user, specify which depots and companies they should have access to. To do this, select the required options in the Depots block. The employee will get access to routes that start from them.

In the API

The role is assigned to a user when you add them, and the access to depots and companies for a Manager or Dispatcher is set in the interface.

Once the registration is complete and the employee is added, they will have access to the workplace interface at: https://yandex.com/courier.

Deleting a user

Via the Logistics Coordinator Workplace interface
  1. In the menu on the left, select Settings → Managers.
  2. Open the user card.
  3. At the bottom of the page, click Delete user.
In the API

Send a request to the users resource. In the URI, specify the user ID:

Request

cURL

curl -H "Content-Type: application/json" -H "Authorization: Auth your-OAuth-token" -X DELETE https://courier.yandex.ru/api/v1/companies/<your-company-id>/users/<user-id>
Copied to clipboard
Result:
{
  "id": 197215,
  "login": "alice.the.girl",
  "role": "manager"
}

Contact support