Subscription billing policy update

Hello folks.

Suppose one of my subscription customer purchase a subscription product for $5 and he will be billed each month. Now he wants to change his billing interval from each month to every 6 month. So he will pay $30 on every 6 month instead of paying $5 on each month. Is that achievable with the shopify subscription api graphql mutaion?

Thanks.

Hey there @shafiimamsrio !

You can certainly update the contract to have a different billing and/or delivery policy. The documentation on that can be found here:
https://shopify.dev/api/admin-graphql/2022-10/mutations/subscriptiondraftupdate
https://shopify.dev/api/admin-graphql/2022-10/input-objects/SubscriptionBillingPolicyInput

And some examples of similar operations:
https://shopify.dev/apps/subscriptions/contracts/update#step-3-update-the-subscription-draft