Title:
Hi Square Developer Community,
I have two Square POS registers connected to the same Square location:
Register 1: Drive-Thru
Register 2: Walk-In
I’m developing an Order Confirmation Screen (OCS) application for the drive-thru. My application listens to Square’s order.created and order.updated webhooks to receive order information in real time.
The challenge is that I only want to display orders created from the Drive-Thru register, not orders placed through the Walk-In register.
Since both registers belong to the same Square location, the location_id is identical, and I haven’t found any device or register identifier in the order webhook payload.
My questions are:
Is there any field in the Orders API or webhook payload that identifies which Square POS register created an order?
Is there a way to retrieve the register’s device_id or device_name before the payment is completed?
Can we configure Square POS to automatically attach a unique identifier to orders created from a specific register?
Is there any recommended workaround to distinguish Drive-Thru orders from Walk-In orders in real time?
Important: I need to identify the originating register before payment is processed, as the order must appear on the drive-thru confirmation screen while the customer is still placing their order.
Any guidance or suggestions would be greatly appreciated.
Thank you!