Assign a user to a branch
Needs shops.write. The user must have a role in the seller; the assignment records that role (vendedor,
supervisor…). Assigning twice is a no-op. Note that a full-scope token of a user with branches only sees the
orders fulfilled from those branches.
POST
/shops/{shop_id}/branches/{id}/usersAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
shop_idintegerrequiredidintegerrequiredRequest body
requiredapplication/jsonuser_idintegerrequiredResponses
201
The branch with its users
403
Access denied
422
Not a user of this shop