How to search order of Square Register

how to search order of Square Register ? i see its source name = null, but null could search all source names

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation
Order-Ahead Sample Application

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

To search for orders from Square Register, you can use the Orders API’s SearchOrders endpoint. However, the source name for orders from Square Register is not currently exposed via the API, so you cannot filter orders based on the source being Square Register. The source name being null does not specifically indicate that the order is from Square Register, it simply means that the source of the order is not specified. Therefore, setting the source name to null would indeed search all orders regardless of their source.

This answer was reviewed by @Bryan-Square.