我正在开发一个与square集成的应用程序,我可以创建订单,但是当我咨询它们时:
https://connect.squareup.com/v2/locations/xxxxxxxxxxxxxx/orders/batch-retrieve
它给我带来了null
来自文档: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