Skip to content

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_idstringrequired

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

  • session_idstringrequired

    The session's ID, like pses_01k8qs5s….

  • order_idstringrequired

    The order's ID, like ord_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

  • codestring · or null

    The code the customer showed.

  • paymentsarray of object | object | object | object | object | object | object | objects

    What is due, taken now; none when it was paid.

Returns

200 Handed over.

Errors

  • 409The code doesn't match (pickup_code_wrong).
  • 422validation_failedThe payments don't cover what is due.