Update person
PUT
/ admin/ v1/ stores/ {store_id}/ pos/ people/ {person_id}- settings:write
Changes someone's name, role or registers, or archives them.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.person_idstringrequiredThe person's ID, like
pper_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
namestringrequiredroleenumrequiredWhat a person does at the counter.
- owner
- manager
- cashier
- floor
phonestring · or nulluser_idstring · or nullTypeID with the
usrprefix.register_idsarray of strings · or nullarchivedboolean
Returns
200 Saved.
Errors
- 404
not_foundNo such person.