Square Connect API - API - 订单

时间:2018-01-24 16:09:19

标签: api square

我正在开发一个与square集成的应用程序,我可以创建订单,但是当我咨询它们时:

https://connect.squareup.com/v2/locations/xxxxxxxxxxxxxx/orders/batch-retrieve

它带给我null

1 个答案:

答案 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