Request the transfer of users to multi-login

Records a request to turn users of one aggregated store into multi-login accounts: a principal in the MAIN store and linked users in the chosen stores. The request waits for review. This route only records it and answers 201 with an empty body.

Rules

  • From 1 to 50 users per request. Above that the answer is 400 with the limit message and nothing is saved.
  • Every user belongs to originRetailerId and is eligible: not a principal, not a linked user, active, and not in another open request.
  • Every store in retailerIds is an aggregated store of the caller's group. The MAIN store is never listed.
  • originRetailerId is in the retailerIds of every user.
  • The same user cannot appear twice.

When a user is blocked the 400 message names the users and userIds lists their ids. A user that entered another request meanwhile answers 409.

Access
Same as GET /group/retailers/{retailerId}/users: admin session, not an API user, multi-retailer-login and multi-login-transfer-request flags active for the caller's retailer, caller retailer is the MAIN contract of its group, and every store in the body belongs to that group. Otherwise 403.

The request records who asked (the caller), the MAIN store, the group, the origin store and, per user, the stores and the access to the MAIN store.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

ID of the aggregated store the users come from. It must belong to the caller's group and cannot be the MAIN store.

users
array of objects
required
length between 1 and 50

Users to move. From 1 to 50, without repeated userId.

users*
string
required

ID of the user in originRetailerId.

retailerIds
array of strings, unique
required
length ≥ 1

Aggregated stores of the group the person will access. It must include originRetailerId and must not include the MAIN store.

retailerIds*
boolean
required

Whether the person can also enter the MAIN store.

Responses
201

Request recorded. Empty body.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json