Skip to main content
POST
Recount a bin/lot row (PickFlow)

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Headers

Idempotency-Key
string

Optional opt-in idempotency token. A retry carrying the same key replays the stored response; reusing a key for a different request returns 409.

Body

application/json
rfq_stock_location_id
integer
required

Stock row to recount (from the bin/product stock endpoints).

quantity
number
required

The counted on-hand quantity.

Required range: x >= 0
expected_quantity
number | null

On-hand the operator saw before counting. Enables the stale-count check.

remarks
string | null
Maximum string length: 1000

Response

Recount applied

previous_quantity
number
quantity
number

New on-hand.

delta
number

quantity − previous_quantity.

item
object

One on-hand row — a product in a specific bin (and lot, for lot-tracked products). rfq_stock_location_id is the id that POST /pickflow/inventory/transfers and POST /pickflow/inventory/recount target.