Get same amount of orders from Square Up Orders API as in the seller account transactions page?

Hi there,

I have a question, that which field should I use to get same amount of orders from Square Up Orders API as in the seller account transactions page based on the date range selected?

: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

Seller Dashboard
Orders API: How It Works
Get Started: What's Next

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 get the same amount of orders from the Square Orders API as in the seller account transactions page based on a selected date range, you should use the created_at field in the SearchOrders request body. This field is of the TimeRange type and allows you to specify a start and end date in RFC 3339 format. This will return orders that were created within the specified date range. Please note that the date should be in ISO 8601 format (YYYY-MM-DD) and the time should be in RFC 3339 format.

This answer was reviewed by @Bryan-Square.