What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

Setting next billing date does NOT trigger a webhook

Setting next billing date does NOT trigger a webhook

eat_to_evolve
Excursionist
18 0 11

When using the 

subscriptionContractSetNextBillingDate

mutation to set the next billing date, a subscriptionContractUpdated webhook is not sent. On any other change (such as setting status to PAUSED), it is.

Replies 2 (2)

LeonFattakhov
Shopify Staff (Retired)
1 0 0

Hello @eat_to_evolve,

Currently, the available webhooks for subscription contracts are subscription_contracts/createsubscription_contracts/update which map to the mutations subscriptionContractCreatesubscriptionContractUpdate. At this time we do not have a webhook for the subscriptionContractSetNextBillingDate.

We have some documentation about the subscriptions related webhooks: https://shopify.dev/tutorials/create-manage-subscription-contracts#subscription-related-webhooks along with some documentation for the subscription contract mutations: https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptioncontract#mutations-for-subsc...


Hope this helps!

To learn more visit the Shopify Help Center or the Community Blog.

eat_to_evolve
Excursionist
18 0 11

To me, it would make sense for any sort of subscription change to trigger the update webhook, and updating the billing date is a change. I guess that is fine, I can workaround it, just not ideal.