Update or disable a dealer user
Renames a vendedor user or disables/enables their access to the seller. Needs shops.write. A disabled
dealer keeps the user but gets no scopes: logins, token exchanges and refreshes fail, and the merchant admin
refuses them. Access tokens already issued last until they expire (1 hour). Users with another role answer 422.
PUT
/shops/{shop_id}/admins/{id}Authorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
shop_idintegerrequiredidintegerrequiredRequest body
requiredapplication/jsonnamestringdisabledbooleanbranch_idintegerMoves the dealer to this sucursal (replacing their current one); blank takes them out of it; omitted leaves it as is.
Responses
200
The dealer user
403
Access denied
404
User not found in this shop
422
Not a dealer user, or invalid or unknown fields