Create a stock adjustmentAsk AIpost https://api.katanamrp.com/v1/stock_adjustmentsCreates a stock adjustment object.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 ≥ 1Batch-level breakdown of the stock adjustment row quantity. The sum of batch transaction quantities must equal the row quantity.batch_transactions objectbatch_idinteger | nullrequired≤ 2147483647ID of the batch to adjust stock for. Use null to record unbatched (untraced) stock.quantitynumberrequired≤ 100000000000000000ADD 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 7 months ago