Skip to content

Unlock

POST/admin/v1/stores/{store_id}/pos/registers/{register_id}/unlock
  • pos:sell
  • Idempotency-Key supported

Unlocks the register for someone with their PIN; send the returned token as X-Pos-Clerk. Five wrong PINs lock the person out for five minutes.

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.

  • register_idstringrequired

    The register's ID, like preg_01k8qs5s….

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

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

Body

  • person_idstring · or null

    null for the store's first unlock, as the signed-in member.

  • pinstring · or null

Returns

201 Unlocked.

Errors

  • 409Wrong PIN (wrong_pin), locked out (pin_locked) or no PIN set (pin_not_set).