Customer segments in webhook

The Customers webhooks currently send a list of group_ids and, per the documentation here, (customer.created Webhook - Square API Reference) it should send a list of segment_ids. However, I’m not seeing the segment_ids field in the data sent by the webhook. Making a call to the Retrieve Customer API endpoint I do see both the group_ids and the segment_ids listed in the response. Is the segment_ids field currently not supported by the customers webhooks? If not, why is it listed in the documentation and will it be supported soon?

Edit: One additional question, it seems that when customers are added to a new segment or “smart group”, this action also does not trigger a webhook at all. Could this be updated to trigger a customer updated webhook?

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Use Customer Webhooks
Use the Customer Groups API
Customer Groups API

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Hello, is there any response to the original question? The automated response simply points to the API documentation, which is the reason for the original question.

At this time the segment_id isn’t included in the webhook payload and the team confirmed that this is the expected behavior. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slight_smile:

Thanks Bryan! That makes sense. Do you know if this feature is already on their roadmap? It’s weird that it’s in the documentation when it hasn’t been implemented yet.

Unfortunately we don’t have public roadmaps for features like this. :slight_smile: