How to create a return kit?

I would like to create a plugin that allows the user to create a return kit and upload to the server from the Editor View.

What is the best method to access this functionality from the API?