Dear Team,
We noticed that not like other data object with field ‘version’, there is no field ‘version’ in team member object, which means, if we received two webhook events at nearly the same time about the same team member with the same field “updated_at”, we can’t know which event is with the latest team member object, and this is just the issue happened to us.
- Application id: sq0idp-X5g7B-QAtnOvyEFik1fuSg
- Team member id: TMaV222SsbmSolRt
- Two event ids:
- e1a64991-7ccf-3df9-8717-30bf6db5f7f3
- aa2904d7-7581-3f13-88c0-0276f7ede02f
The two events arrived at our application nearly at the same time, both of them are for team member updated, the team member objects in the two events are with the same field updated_at “2025-05-29T23:55:15Z”, but one is with assigned_locations.location_ids empty, and the other is with assigned_locations.location_ids NOT empty;
We don’t know why the two events could happen at nearly the same time (we only updated team member on Square dashboard, not via any Square API, we can’t update team member in such fast way), and our application also doesn’t know which event is with the latest team member object.
Any suggestion on how we should handle this situation is appreciated.
Thanks.