Create a stock adjustmentCopy Pagepost https://api.katanamrp.com/v1/stock_adjustmentsCreates a stock adjustment object.Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body Paramsnew stock adjustment detailsstock_adjustment_numberstringrequiredlength ≥ 1stock_adjustment_datestringlength ≥ 1location_idintegerrequired≤ 2147483647reasonstringadditional_infostring | nullstock_adjustment_rowsarray of objectsrequiredlength ≥ 1stock_adjustment_rows* objectquantitynumberrequired≤ 100000000000000000variant_idintegerrequired≤ 2147483647cost_per_unitnumber≤ 1000000000000000000batch_transactionsarray of objectslength ≥ 1deprecatedBatch-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 objectbatch_idinteger | nullrequired≤ 2147483647ID of the batch to adjust stock for. Use null to record unbatched (untraced) stock.quantitynumberrequired≤ 100000000000000000ADD objecttraceabilityarray of objectsUnified 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).traceabilityADD objectADD objectResponses 200New stock adjustment created 401Make sure you've entered your API token correctly. 422Check the details property for a specific error message. 429The rate limit has been reached. Please try again later. 500The server encountered an error. If this persists, please contact supportUpdated about 2 months ago The stock adjustment objectList all stock adjustmentsDid this page help you?YesNo