For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
Hiya, we're building a Shopify app for a store to manage subscriptions on top of the subscriptions api. Subscriptions are created using the selling plans and Shopify checkout. Now we want to use our app to manage the subscriptions e.g changing the delivery frequency. To do this, we first created a subscription draft using the `subscriptionContractUpdate` mutation. Then we tried to update the selling plan, it worked but didn't change any of the delivery intervals, just the selling plan name and id. Then we directly updated the intervals. The changes went through but the next billing date would not update, nor are any new orders being created.
So the question is, what is the correct way to update a delivery frequency on a subscriptions created using selling plans? Will futures orders be automatically created once the changes are made or is there something else we need to do?
Solved! Go to the solution
This is an accepted solution.
You have to update basically every aspect of the subscription contract that you want changed (delivery and billing policy, next billing date, etc). You'll also have to trigger the billing attempts to create orders. Almost nothing is done by Shopify's APIs for you.
This is an accepted solution.
You have to update basically every aspect of the subscription contract that you want changed (delivery and billing policy, next billing date, etc). You'll also have to trigger the billing attempts to create orders. Almost nothing is done by Shopify's APIs for you.
So, does shopify not create recurring orders for products sold via selling plans? Or is it only when we make a changes to the contract to need to start creating orders via the app?
Shopify will never automatically bill a subscription contract.
Take a look at how to model the app here: https://shopify.dev/docs/apps/selling-strategies/subscriptions/modeling#lifecycle-of-a-subscription-...
specifically look at the "App" column to see the basic responsibilities of the app
Ty.