Table of Contents |
---|
Steps to create and manage Client-Dispatch
- Get warehouse list
- 存储[起始仓]和[目的仓], [发货日期], [发货方式]
- Get Warehouse Dispatch Freight 根据 起始仓, 目的仓, 发货日期, 发货方式获取物流计划
- Get Client-Dispatch-Delivery-Type 获取到仓调度类型, 存储[到仓调度类型], 判断是否需要填写[vat],[收货人地址]
- Get 获取发货方式, 存储[发货方式], 存储该[发货方式的的必填项]
- Post Client-Dispatch Request提交
- Post Request to add Client-Dispatch-Container 添加客户发货箱
- Post Request to add Client-Dispatch-Contaienr-Product添加客户发货箱产品
- Post Request to update the status of Client-Dispatch 更改状态
...这样做太累了, 所以我们提供了一次请求, 批量创建的接口.
一. Related API Request 获取预置信息
...
1. Related API Requests
For those pre-required fields, only Client-Dispatch-Freight vary ID varies daily, others remain stable预置信息中, 只有发货批次ID是每天变动的, 其他基本不变, 不用每次都获取.
1.1 Get Active Warehouse
/client/Warehouse/Client-Use-Warehouse Warehouse
1.2 Get Warehouse Dispatch Freight
/client/Warehouse-Dispatch-Freight/Get-Closest-Freight
1.3 Get Client-Dispatch-Delivery-Type
/client/Client-Dispatch-Delivery-Type
1.4 Get Client-Dispatch-Container-Type
/client/Client-Dispatch-Container-Type
1.5 Get Client-Dispatch-Vat (Optional)
/client/Client-Dispatch-Vat-Number
1.6 4 Get Address-Book (Optional)
...
2.
...
All-in-one
...
API Request to create Client-Dispatch
Include Page | 批量添加客户发货单 | 批量添加客户发货单 |
---|
...
|
3. Update the
...
Status of Client-
...
params: CLIENT_DISPATCHED
...
Dispatch
update client dispatch status to 'CLIENT_DISPATCH'
Include Page | ||||
---|---|---|---|---|
|
Finished