Team Member Information with Orders

I am using the Square Node.js SDK. Version 18.0.0 and I am trying to fetch all Orders that are CLOSED or COMPLETED that has a team_member_id included with it. Can’t seem to find that. Any help with possibly hitting the right API would be greatly appreciated

:wave: Currently the team_member_id isn’t in the orders response. It’s currently in the payment response. You’ll need to pull all payments with a specific team member with the Payments API and take the order_id in the response to call the Orders API. :slightly_smiling_face:

2 Likes

Thanks Bryan, this helps!