Modifying data received from event subscription?

(self-hosted, current 4.x version)

If I subscribe to the “Updated Invoice” event I receive a JSON object that contains various invoice components including the invoice_items. (Very cool, BTW!)

Is it possible to modify the invoice_items array and send it back, or is this a read-only process?



You could use the API to modify the invoice