For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
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
Solved! Go to the solution
This is an accepted solution.
I'm pretty confident that it is not possible to create a subscription contract with no products.
^ lines is a non-null, non-empty array type on the SubscriptionContract
This is an accepted solution.
I'm pretty confident that it is not possible to create a subscription contract with no products.
^ lines is a non-null, non-empty array type on the SubscriptionContract
If you will use the same price for each order you can simply create Generic product, something like "Our awesome bundle" and then before every billing attempt make updates to contract.