Apply an absolute stock count

Set an item's on_hand count to an absolute value, recorded as one correction movement. A count equal to the current on_hand succeeds without writing a movement. Refused when the count would fall below held.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Item id

Body Params

Count to apply

Absolute stock count

integer
required

OnHand is a pointer so binding's "required" check does not mistake a legitimate zero count
for an absent field: an empty body must 400, not silently zero the item's stock.

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json