StockTransaction object. The target product must be active and quantity-tracked (products tracked by serial/lot use Requisitions instead).order_id, staff_id, and branch_id are assigned by the server.curl --location --globoff 'https://.daftra.com/api2/stock_transactions.json' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"StockTransaction": {
"product_id": 55,
"store_id": 3,
"transaction_type": 1,
"quantity": 10,
"price": 25.5,
"currency_code": "USD",
"received_date": "15/06/2026",
"transaction_category_id": ["Adjustment"],
"notes": "Initial count"
}
}'{
"result": "successful",
"code": 202,
"id": 1024
}