Send Amount Left

Hi having looked through the forum I am unable to see an option to send amount left in a keg via API, am I been daft or is that not an API feature?

You can read remaining_volume_ml on a Keg, but you’re right, you cannot set this directly, as this is a derived field.

This field is calculated as:

remaining_volume_ml = full_volume_ml - served_volume_ml - spilled_ml

So, you will need to set or add to served_volume_ml.