can I fetch orders or related customer info by using Square API?

Hi: 

Can I use Square API to get today's order (or any given time period, for example: from date1 to date 2? 

 

Also, I need get the customer info who placed the order. 

 

I found out "Search Orders" here, but seems I am not able to find out the customer info such as: First Name, last name, email...

 

May be I am missing something. 

 

Thank you

 

JT

592 Views
Message 1 of 2
Report
1 REPLY 1
Square Community Moderator

Hi @Yutechs123!

 

I reached out to the API team with your question and they answered with the following: 

 

Orders that are paid for will have the customer_id in the tenders of the order if a customer is associated to the payment. Additionally if you create an order and add a customer_id with CreateOrder the it will show in the SearchOrders response. 

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
560 Views
Message 2 of 2
Report