# How do I find the terminal and operator for an order?

**URL:** <https://developer.squareup.com/forums/t/how-do-i-find-the-terminal-and-operator-for-an-order/7889>\
**Category:** Questions\
**Tags:** orders-api\
**Created:** [December 9, 2022, 7:13pm UTC](https://developer.squareup.com/forums/t/how-do-i-find-the-terminal-and-operator-for-an-order/7889 "2022-12-09T19:13:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nic](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nic](https://developer.squareup.com/forums/u/nic)\
**Post date:** [December 9, 2022, 7:13pm UTC](https://developer.squareup.com/forums/t/how-do-i-find-the-terminal-and-operator-for-an-order/7889/1 "2022-12-09T19:13:52Z")

</div>

Hello, I’m using the Java SDK, trying to consume some orders from the orders api, and I can’t figure out how to tell what employee rang up an order or what terminal the order was rung up on? Is this even a thing in the available data? Thanks.

---

<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:** [December 9, 2022, 8:33pm UTC](https://developer.squareup.com/forums/t/how-do-i-find-the-terminal-and-operator-for-an-order/7889/2 "2022-12-09T20:33:19Z")

</div>

At this time the `employee_id` is on the payment for an order. If you take the `payment_id` from the order and call [GetPayment](https://developer.squareup.com/reference/square/payments-api/get-payment) you’ll get the team\_member\_id of the employee that took the payment if you have Teams enabled. 🙂

---

<div class="post-metadata">

**Author:** ![nic](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nic](https://developer.squareup.com/forums/u/nic)\
**Post date:** [December 12, 2022, 6:07pm UTC](https://developer.squareup.com/forums/t/how-do-i-find-the-terminal-and-operator-for-an-order/7889/3 "2022-12-12T18:07:55Z")

</div>

Thank you! Seems odd that it’s not on the order api response though.

Is there any way to get the register id or the terminal id? We’re trying to map orders to physical cameras present at the register, to sync the video feed with the timestamps on the orders.

---

<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:** [December 12, 2022, 7:41pm UTC](https://developer.squareup.com/forums/t/how-do-i-find-the-terminal-and-operator-for-an-order/7889/4 "2022-12-12T19:41:14Z")

</div>

There is [device\_details](https://developer.squareup.com/reference/square/objects/DeviceDetails) which has a `device_id` that could be used to map payments taken on a specific device. 🙂

---

<div class="post-metadata">

**Author:** ![nic](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nic](https://developer.squareup.com/forums/u/nic)\
**Post date:** [December 12, 2022, 7:46pm UTC](https://developer.squareup.com/forums/t/how-do-i-find-the-terminal-and-operator-for-an-order/7889/5 "2022-12-12T19:46:21Z")

</div>

Thank you. In short, terminals and employees are not associated to orders or line items, but only to payments, which association can be used to indirectly link order → employee or order → terminal.
