API for creating new trial marketplaces

This can be called from the marketing site
Ok, what would be our best datatype to look as an example to do this?