批量查询采购订单结果
方法名称:get_amoeba_order_infos
请求地址:https://open.patpat.com/api/get_amoeba_order_infos
支持请求方式: GET
接口说明: 以“采购订单id”批量查询已推送给该供应商的订单及其状态
系统级输入参数:
| 名称 | 类型 | 是否必须 | 描述 |
| _timestamp | string | 否 | 请求时间戳 |
| _signature | String | 是 | 请求签名 |
| access_token | String | 是 | 用户授权令牌 |
应用级输入参数:
| 名称 | 类型 | 是否必须 | 描述 | 示例值 |
| order_ids | string | 是 | 订单id | 4936152,4936152,4935213 |
接口返回结果:
| 字段 | 参考值 | 类型 | 描述 |
| status | 200 | Integer | 返回状态码 |
| msg | success | String | 接口返回信息 |
| content | 接口返回内容 |
数据返回示例:
{
"status": 200,
"msg": "success",
"content": [
{
"order_id": 4936152,
"close_type": null,
"close_reason": null,
"close_person": null,
"ship_order_id": 2822395,
"push_date": "2020-11-20 17:13:00",
"close_date": "2021-02-08 05:07:41",
"status": "已签收",
"demand_number": 4,
"shipped_number": "4",
"deliver_date": "2022-03-10 15:59:59",
"accepted_number": 4
},
{
"order_id": 4935213,
"close_type": "采购手动关闭",
"close_reason": null,
"close_person": null,
"ship_order_id": 2821832,
"push_date": "2020-11-20 13:33:53",
"close_date": "2020-11-28 17:37:08",
"status": "已完成",
"demand_number": 10,
"shipped_number": "10",
"deliver_date": "2021-12-15 15:59:59",
"accepted_number": 10
}
]
}
{
"status": 2003,
"msg": "订单id不存在,或者该订单id不属于当前供应商",
"content": "4936152,4936152,4935213"
}
{
"status": 2004,
"msg": "批量查询最多只能查询100条数据",
"content": ""
}