Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

subscription billing policy update

Solved

subscription billing policy update

shafiimamsrio
Shopify Partner
8 0 1

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. 

Accepted Solution (1)

JoshArnold
Shopify Staff
30 7 6

This is an accepted solution.

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

Josh (aka Master Chief) | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Reply 1 (1)

JoshArnold
Shopify Staff
30 7 6

This is an accepted solution.

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

Josh (aka Master Chief) | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog