Setting next billing date does NOT trigger a webhook

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.

Hello @eat_to_evolve ,

Currently, the available webhooks for subscription contracts are subscription_contracts/create, subscription_contracts/update which map to the mutations subscriptionContractCreate, subscriptionContractUpdate. 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: subscriptionContract - GraphQL Admin

Hope this helps!

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.

1 Like