I want to create an app that lets’ you subscribe to “curated” packs (e.g. Winter Bundle).
The subscriptions would have no products set. But every quarter, the store admin would manually pick-out/curate products. Then renew all the subscriptions with these products.
Can you create active SellingPlanGroup(s) and SubscriptionContract(s) with no products?
When renewal time came, I would need to:
-
use sellingPlanGroupAddProductVariants and subscriptionContractUpdate to update the subscriptions to contain the desired products
-
Then make a subscriptionBillingAttemptCreate call to generate an order
-
Then remove the products from the SellingPlanGroup(s) and SubscriptionContract(s).
Would that work?
Thanks