x

How to retrieve orders list from Square using Square API V2

I'm attempting to get a list of recent transactions/orders from the Square Connect API V2 that lists out exactly what was purchased.

 

I tried the suggestion posted here: How to retrieve Square orderIds for Call to BatchRetrieveORders

 

and received the error "Provided merchant_id and merchant_id in authorization do not match up."

 

I also attempted "v2/locations/(locationID)/orders/batch-retrieve" and received the error:

     {
  "success": false,
  "message": {
    "resource_bundle_name": "com.squareup.webservice.WebserviceMessages",
    "key": "there.was.a.problem.processing.this.request",
    "arguments": []
  },
  "debug_info": ""
}

 

I am able to get a list of transactions, but it isn't useful to me without the item information.

 

I'm using a personal account with the Personal Access Token.

 

Question also posted on StackOverflow:

https://stackoverflow.com/questions/53601391/how-to-retrieve-orders-list-from-square-using-square-ap...

1,181 Views
Message 1 of 2
Report
1 REPLY 1
Admin

@GraftedCoffee I escalated this to our API specialists, but they need a bit more information in order to help. It would be great if could send an email to the API team directly, and include the actual request(s), but without your access token. With that information they'll be able to investigate this further.

 

Thanks for your patience with this! 

 

️ Helen
Seller Community Manager

Did you find help in the Seller Community? Mark a Best Answer to help others.
1,166 Views
Message 2 of 2
Report