Customer Updated Seems Like it Fires Every Time There's a Customer Order -- Hoping to Just Hear About Address/Email Updates

Martin7
New Member
4 0 0

Hi There,

I'm trying to understand the Customer Updated event -- it seems like it fires whenever *anything* happens anywhere near a customer -- on new orders and refunds in addition to what I expected (address changes). 

I see that I can limit the call by date (customers updated after x) but I'm hoping there's a way to see what updated, or to see what I'm actually looking for, which is only customers who've updated their address. 

The webhook documentation onn this says "Customer update: a webhook will be sent every time a customer record is updated." -- which is a little sparse.

Many thanks!

Martin

 

Replies 2 (2)
Josh
Shopify Staff
Shopify Staff
1134 84 226

Hey Martin, 

This sounds like expected behaviour if I'm being honest, even a refund would touch a customer account since it would update the amount that a customer had spent over their lifetime on the shop. Unfortunately there's no way to be selective about when a webhook will be sent, it's an all or nothing scenario where you'll have to be prepared to potentially deal with some noise you may not be interested in. 

 

 

Josh | 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 the Shopify Help Center or the Shopify Blog

Martin7
New Member
4 0 0

Hey Josh -- sure, that makes sense -- but the fact that there's not an update hook for addresses seems like a gap.  You're also using the word in the definition -- in that documentation -- which isn't super helpful. 

Thanks for looking into it!

Martin