curl --request PUT \
--url https://api.sanka.com/v1/public/inventory-transactions/{transaction_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"transactionType": "<string>",
"inventoryId": "<string>",
"inventoryExternalId": "<string>",
"amount": 123,
"transactionAmount": 123,
"transactionDate": "<string>",
"status": "<string>",
"inventoryType": "<string>",
"useUnitValue": true,
"price": 123
}
'{
"ok": true,
"status": "<string>",
"transaction_id": "<string>",
"inventory_id": "<string>",
"ctx_id": "<string>"
}curl --request PUT \
--url https://api.sanka.com/v1/public/inventory-transactions/{transaction_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"transactionType": "<string>",
"inventoryId": "<string>",
"inventoryExternalId": "<string>",
"amount": 123,
"transactionAmount": 123,
"transactionDate": "<string>",
"status": "<string>",
"inventoryType": "<string>",
"useUnitValue": true,
"price": 123
}
'{
"ok": true,
"status": "<string>",
"transaction_id": "<string>",
"inventory_id": "<string>",
"ctx_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.