Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • person_idstringrequired

    The person's ID, like pper_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • namestringrequired
  • roleenumrequired

    What a person does at the counter.

    • owner
    • manager
    • cashier
    • floor
  • phonestring · or null
  • user_idstring · or null

    TypeID with the usr prefix.

  • register_idsarray of strings · or null
  • archivedboolean

Returns

200 Saved.

Errors

  • 404not_foundNo such person.