获取采购订单
方法名称:get_amoeba_orders
请求地址:https://open.patpat.com/api/get_amoeba_orders
支持请求方式: GET
接口说明: 以“采购订单推单时间/JIT母单id”查询已推送给该供应商的所有采购订单
系统级输入参数:
名称 | 类型 | 是否必须 | 描述 |
_timestamp | string | 否 | 请求时间戳 |
_signature | String | 是 | 请求签名 |
access_token | String | 是 | 用户授权令牌 |
应用级输入参数:
名称 | 类型 | 是否必须 | 描述 | 示例值 |
order_create_date | string | 否 | 订单推单日期 | 2021-09-25~2021-09-29 |
jit_order_id | integer | 否 | jit母单id | 1 |
page | 否 | 分页数,默认为1 | 1 |
接口返回结果:
字段 | 参考值 | 类型 | 描述 |
status | 200 | Integer | 返回状态码 |
msg | success | String | 接口返回信息 |
content | 接口返回内容 |
数据返回示例:
{ "status": 200, "msg": "success", "content": { "total": 108, "per_page": 20, "current_page": 1, "last_page": 6, "next_page_url": "http://open.com/order/get_amoeba_orders?page=2", "prev_page_url": null, "from": 1, "to": 20, "data": [ { "order_id": 4930976, "order_type": "实采单", "is_first_order": "否", "ship_order_id": 2820454, "product_id": 389465, "product_code": 17147849, "product_img": "http://patpatwebstatic.s3.us-west-2.amazonaws.com/origin/product/007461000000/5c78e1bf528fa.jpg", "design_style_code": [], "product_category": [], "buyer": "PatPat", "demand_number": 1, "excess_number": null, "order_note": [ { "order_item_note": "vfd", "created_at": "2021-09-25 02:20:26" } ], "deliver_date": null, "push_date": null, "status": "已组单", "jit_order_id": "" } ] } }