# Tying an Order to a Team Member

**URL:** <https://developer.squareup.com/forums/t/tying-an-order-to-a-team-member/8354>\
**Category:** Questions\
**Tags:** orders-api\
**Created:** [January 25, 2023, 8:24pm UTC](https://developer.squareup.com/forums/t/tying-an-order-to-a-team-member/8354 "2023-01-25T20:24:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose.servin](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jose.servin](https://developer.squareup.com/forums/u/jose.servin)\
**Post date:** [January 25, 2023, 8:24pm UTC](https://developer.squareup.com/forums/t/tying-an-order-to-a-team-member/8354/1 "2023-01-25T20:24:35Z")

</div>

Hi Everyone,

I am trying to see if we can tie an order to a team member. i.e “What team member captured this order?”

Some of the fields I have gathered from the Orders repsonse.body are:

- OrderID
- TransactionID
- PaymentID

I’ve look at the Order object, both attributes and data types, but can’t figure out how to tie an Order to a Team Member…any help would be greatly appreciated!

Resouces:

- [Order Object - Square API Reference](https://developer.squareup.com/reference/square/objects/Order)

---

<div class="post-metadata">

**Author:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [January 26, 2023, 7:56pm UTC](https://developer.squareup.com/forums/t/tying-an-order-to-a-team-member/8354/2 "2023-01-26T19:56:07Z")

</div>

Hey @jose.servin! There isn’t an explicit field on the Order object for this currently, but you can the `metadata` field to associate an order with a team member’s ID.

---

<div class="post-metadata">

**Author:** ![jose.servin](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jose.servin](https://developer.squareup.com/forums/u/jose.servin)\
**Post date:** [January 26, 2023, 9:03pm UTC](https://developer.squareup.com/forums/t/tying-an-order-to-a-team-member/8354/3 "2023-01-26T21:03:26Z")

</div>

Got it, thank you @josh-square !

---

<div class="post-metadata">

**Author:** ![Sbbb](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@Sbbb](https://developer.squareup.com/forums/u/Sbbb)\
**Post date:** [April 20, 2023, 3:01am UTC](https://developer.squareup.com/forums/t/tying-an-order-to-a-team-member/8354/4 "2023-04-20T03:01:54Z")

</div>

Not being able to tie line\_items on an order to the team member that collected it is a huge pain, especially when trying to report on things like commissions, etc. Is this something coming soon? I can hack it sort of by tying booking\_segments and customer\_id to certain dates, but it’s pretty messy.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [April 20, 2023, 4:31pm UTC](https://developer.squareup.com/forums/t/tying-an-order-to-a-team-member/8354/5 "2023-04-20T16:31:37Z")

</div>

At this time there isn’t a public roadmap for features or future releases. 🙂

---

<div class="post-metadata">

**Author:** ![Sbbb](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@Sbbb](https://developer.squareup.com/forums/u/Sbbb)\
**Post date:** [April 26, 2023, 9:03pm UTC](https://developer.squareup.com/forums/t/tying-an-order-to-a-team-member/8354/6 "2023-04-26T21:03:48Z")

</div>

Hey Bryan, thanks for the response. As someone trying to build value on the Square platform this feels kind of dismissive. Is there any possibility of us petitioning for this access? You obviously have it internally if you’re able to offer attribution for sales in the internal reports.

If Square is truly committed to having people like us build on your platform and the “Square Unboxed” movement, it would be helpful to be able to collaborate on items like this!

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [April 26, 2023, 10:25pm UTC](https://developer.squareup.com/forums/t/tying-an-order-to-a-team-member/8354/7 "2023-04-26T22:25:04Z")

</div>

Clarifying question. Does only one team member build and close the order or do multiple team members get commission on items that make up an order? If it’s one team member you can look to the [payment](https://developer.squareup.com/reference/square/objects/Payment) where the `team_member_id` is.
