Running something when save changes is clicked.

So I have a page for Products, where a user can edit a products information. I want to be able to pass that info back to stripe to update the product externally so I'd like it to run this process when the Edit product form saves but not quite sure how or where i inject this code.

Appreciate the help!
Solution
use mutateFormDataBeforeSave() in the EditProduct page
Was this page helpful?