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_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.register_idstringrequiredThe register's ID, like
preg_01k8qs5s….
Headers
x-pos-clerkstringrequiredThe clerk's unlock
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
approver_idstringrequiredTypeID with the
pperprefix.pinstringrequiredactionenumrequireddiscount,price,refund,remove_line,open_drawerorsettings.- discount
- price
- refund
- remove_line
- open_drawer
- settings
percent_bpinteger · or nullFor a discount: basis points.
amountinteger · or nullFor a refund: minor units.
notestring · or null
Returns
201 Approved.
Errors
- 409Wrong PIN.
- 422
validation_failedNot a manager.