Update member
PATCH
/ admin/ v1/ stores/ {store_id}/ members/ {user_id}- staff:manage
Give a member another role. and every permission involved.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.user_idstringrequiredMember's user ID
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
role_idstringrequiredTypeID with the
roleprefix.
Returns
200 Updated member.
Errors
- 403
forbiddenMissing permission, or your own role. - 404
not_foundNot a member of this store. - 409The owner has no role (
owner_protected). - 422
validation_failedUnknown or ungrantable role.