The Subscription documentation page has an example of adding a Subscription Customer from a Creator function. I have that working.
Are there examples of creating or updating an associated Subscription. What are the field names and which are required?