SMS Marketing Consent Webhook

SMS Marketing Consent Webhook

fatin1
Shopify Partner
3 0 0

Hi all,

 

I would like to know how does this webhook actually works (https://shopify.dev/docs/api/admin-graphql/2023-01/mutations/customersmsmarketingconsentupdate#examp...)

 

I already installed it. However, upon checking at webhook log, it is only triggering if customers opt-in/consent to marketing SMSes. It does not trigger when customers opt-out/does not consent to marketing SMSes.

 

Can anyone help me?

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 498

Hey @fatin1 - thanks for getting in touch. I checked this on my end and can confirm the the webhook should trigger when a customer opts out of/unsubscribes from SMS marketing consent. In this case, if you're able to share a webhook ID for a webhook subscription connected to your app and the shop, we can use that to take a look at the logs on our end to investigate further. 

Hope to hear from you soon. 

 

Al | Shopify Developer Support

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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