I am wanting to write some code to import my past transactions I have from my previous POS. Is it possible to create an order with a date in the past?
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
Square Developer Documentation
Build on Mobile Web
Point of Sale API and POS Integration Tools
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.
No, it’s not possible to create an order with a date in the past using Square’s APIs. The Orders API automatically assigns the current date and time to a new order when it’s created. You cannot manually set or change this timestamp.
This answer was reviewed by @Bryan-Square.