获取JIT母单
方法名称:get_jit_orders
请求地址:https://open.patpat.com/api/get_jit_orders
支持请求方式: GET
接口说明: 以“JIT推单日期”查询已推送给该供应商的状态为“备货中/部分备货”的JIT母单
系统级输入参数:
名称 | 类型 | 是否必须 | 描述 |
_timestamp | string | 否 | 请求时间戳 |
_signature | String | 是 | 请求签名 |
access_token | String | 是 | 用户授权令牌 |
应用级输入参数:
名称 | 类型 | 是否必须 | 描述 | 示例值 |
order_push_date | string | 是 | 订单推单日期 | 2021-09-25~2021-09-29 |
page | integer | 否 | 分页参数,默认为1 | 1 |
接口返回结果:
字段 | 参考值 | 类型 | 描述 |
status | 200 | Integer | 返回状态码 |
msg | success | String | 接口返回信息 |
content | 接口返回内容 |
数据返回示例:
{ "status": 200, "msg": "success", "content": { "total": 851, "per_page": 20, "current_page": 1, "last_page": 43, "next_page_url": "http://open.com/order/get_jit_orders?page=2", "prev_page_url": null, "from": 1, "to": 20, "data": [ { "order_id": 111732, "product_id": 495870, "product_code": 17290733, "product_img": "http://patpatdevtest.s3.us-west-2.amazonaws.com/origin/product/000000000000/615c24cd315fe.jpeg", "design_style_codes": [ "247924802488672731906170068" ], "buyer": "PatPat", "total_number": 130, "excess_number": 39, "order_notes": [ { "inventory_order_id": 111732, "note": "测试", "created_at": "2021-09-29 08:16:35" } ], "latest_date": "2021-10-09", "pushed_date": "2021-09-25 07:16:59", "order_status": "备货中" } ] } }