Create a stock adjustment

Creates a stock adjustment object.

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

new stock adjustment details

string
required
length ≥ 1
string
length ≥ 1
integer
required
≤ 2147483647
string
string | null
stock_adjustment_rows
array of objects
required
length ≥ 1
stock_adjustment_rows*
number
required
≤ 100000000000000000
integer
required
≤ 2147483647
number
≤ 1000000000000000000
batch_transactions
array of objects
length ≥ 1
deprecated

Batch-level breakdown of the stock adjustment row quantity. The sum of batch transaction quantities must equal the row quantity. Deprecated — will be phased out; prefer traceability. When both traceability and batch_transactions are sent, traceability wins.

batch_transactions
integer | null
required
≤ 2147483647

ID of the batch to adjust stock for. Use null to record unbatched (untraced) stock.

number
required
≤ 100000000000000000
traceability
array of objects

Unified allocation breakdown of the row quantity (batch / serial / bin). Preferred over batch_transactions; when both are sent, traceability wins. Each entry requires an explicit quantity (the service does not default it).

traceability
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json