Hand over
POST
/ admin/ v1/ stores/ {store_id}/ pos/ sessions/ {session_id}/ pickups/ {order_id}/ hand-over- Idempotency-Key supported
Hands a pickup over: checks the code (a manager may go without), takes what is due into this drawer, marks it picked up and issues its e-receipt. 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.session_idstringrequiredThe session's ID, like
pses_01k8qs5s….order_idstringrequiredThe order's ID, like
ord_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
codestring · or nullThe code the customer showed.
paymentsarray of object | object | object | object | object | object | object | objectsWhat is due, taken now; none when it was paid.
Returns
200 Handed over.
Errors
- 409The code doesn't match (
pickup_code_wrong). - 422
validation_failedThe payments don't cover what is due.