Skip to content

Approve at register

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

A manager approves something past the cashier's limit with their PIN; the returned ID goes in the request that needs it. Requires the clerk's unlock.

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

  • x-pos-clerkstringrequired

    The clerk's unlock

  • 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

  • approver_idstringrequired

    TypeID with the pper prefix.

  • pinstringrequired
  • actionenumrequired

    discount, price, refund, remove_line, open_drawer or settings.

    • discount
    • price
    • refund
    • remove_line
    • open_drawer
    • settings
  • percent_bpinteger · or null

    For a discount: basis points.

  • amountinteger · or null

    For a refund: minor units.

  • notestring · or null

Returns

201 Approved.

Errors

  • 409Wrong PIN.
  • 422validation_failedNot a manager.