FROM CACHE - en_header

Setting next billing date does NOT trigger a webhook

eat_to_evolve
Excursionist
18 0 7

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)
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!

eat_to_evolve
Excursionist
18 0 7

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.