我正在开发一个与square集成的应用程序,我可以创建订单,但是当我咨询它们时:
https://connect.squareup.com/v2/locations/xxxxxxxxxxxxxx/orders/batch-retrieve
它带给我null
答案 0 :(得分:0)
来自文档:Retrieves a set of Orders by their IDs. Only orders that have been successfully charged are included in the response.
我打赌你还没有收到订单,或者没有提供正确的ID来检索。
https://docs.connect.squareup.com/api/connect/v2#endpoint-batchretrieveorders