Sample payload of customers/update is not correct

Hello,

While working on customers/update webhook, I noticed the current sample payload is incorrect.
For example, the sample payload doesn’t have any marketing consent fields such as email_marketing_consent and sms_marketing_consent fields.

Can we have the documentation updated?

Thank you!

Thanks for flagging this Remy - have reached out to the customers team to get this updated!

1 Like

Hey Remy,

I’ve connected with our internal team on this, and since the 2025-01 version these fields were removed: New customer's webhook and changes to existing customer's webhooks payload — Shopify developer changelog

Which is why the current version webhook payload example doesn’t include these fields.

Aha, we are still using 2024-04 on our public app. I didn’t notice I was checking 2025-01 API version on the documentation.

I will double check API version in the future.

Thank you @Liam-Shopify for your support again :pray:

1 Like

No worries Remy! Let us know if you have any other questions :slight_smile:

1 Like