<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>thread How to return a team member's id in Appointments &amp; Bookings</title>
    <link>https://community.squareup.com/t5/Appointments-Bookings/How-to-return-a-team-member-s-id/m-p/384286#M878</link>
    <description>&lt;P&gt;I am trying to start a booking api in my application however I can't seem to figure out how to create a function that returns&amp;nbsp;&lt;STRONG&gt;ONLY&amp;nbsp;&lt;/STRONG&gt;the team_member_id.&lt;/P&gt;&lt;P&gt;Here is the code I have so far:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;async function listTeamMember() {
    try {
        const response = await bookingsApi.listTeamMemberBookingProfiles();
        const teamMemberID = (response.body.team_member_id)
        console.log(teamMemberID);
    } catch (error) {
        console.log(error);
    }
}
listTeamMember()&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 22 Sep 2025 14:20:47 GMT</pubDate>
    <dc:creator>Ejay234</dc:creator>
    <dc:date>2025-09-22T14:20:47Z</dc:date>
    <item>
      <title>How to return a team member's id</title>
      <link>https://community.squareup.com/t5/Appointments-Bookings/How-to-return-a-team-member-s-id/m-p/384286#M878</link>
      <description>&lt;P&gt;I am trying to start a booking api in my application however I can't seem to figure out how to create a function that returns&amp;nbsp;&lt;STRONG&gt;ONLY&amp;nbsp;&lt;/STRONG&gt;the team_member_id.&lt;/P&gt;&lt;P&gt;Here is the code I have so far:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;async function listTeamMember() {
    try {
        const response = await bookingsApi.listTeamMemberBookingProfiles();
        const teamMemberID = (response.body.team_member_id)
        console.log(teamMemberID);
    } catch (error) {
        console.log(error);
    }
}
listTeamMember()&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 22 Sep 2025 14:20:47 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Appointments-Bookings/How-to-return-a-team-member-s-id/m-p/384286#M878</guid>
      <dc:creator>Ejay234</dc:creator>
      <dc:date>2025-09-22T14:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a team member's id</title>
      <link>https://community.squareup.com/t5/Appointments-Bookings/How-to-return-a-team-member-s-id/m-p/384666#M880</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/463406"&gt;@Ejay234&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be a question for our API support team - head over here to reach out to them via the &lt;A href="https://squareup.com/help/us/en/topic/276" target="_blank"&gt;Developer Forum&lt;/A&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Ps&lt;/STRONG&gt;. I noticed it's your first post, welcome to our community &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 02:46:20 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Appointments-Bookings/How-to-return-a-team-member-s-id/m-p/384666#M880</guid>
      <dc:creator>Arie</dc:creator>
      <dc:date>2022-08-01T02:46:20Z</dc:date>
    </item>
  </channel>
</rss>

