createAndEditServiceTransferPlanOrder{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | action_type | 操作类型 | string | — | Required | 操作类型: ADD 新增 EDIT 编辑 |
| 2 | stpo_code | 头程计划单号 | string | — | Optional | 编辑时必填 |
| 3 | service_code | 海外仓服务商代码 | string | — | Required | 备注:可以通过接口getTransferService获取,比如:4PX ,WINIT),注意当想通过货件单号(service_number字段去拉取FBA货件信息时,该字段请填写:OTHER,此功能和页面功能操作保持一致,编辑时不可修改 |
| 4 | stpo_delivery_type | 发货方式 | int | — | Required | 1 供应商代发到目的仓 2 中转仓发货到目的仓 |
| 5 | warehouse_id | 中转仓库ID | int | — | Required | 编辑时不可修改 |
| 6 | to_warehouse_id | 发往仓库ID | int | — | Required | 目的仓在创建时必填 。 修改时,只有当接口参数中填写了service_number ,才可以修改。 |
| 7 | stpo_weight | 预计总重量(KG) | float | — | Optional | 预计总重量(KG) |
| 8 | stpo_volume | 预计总体积(m³) | float | — | Optional | 预计总体积(m³) |
| 9 | stpo_date_eta | 预计发货日期 | date | — | Optional | 格式(2021-03-20) |
| 10 | sm_code | 运输方式 | string | — | Optional | 运输方式 |
| 11 | user_account | 店铺账号 | string | — | Optional | 备注:当货件单号:service_number字段填写了之后,该字段必填 |
| 12 | service_number | 货件单号 | string | — | Optional | 备注: 1、即AMAZON的 shipment_id 2、填写了service_number,可以填写参数 to_warehouse_id的,因为拉取货件单号信息需要to_warehouse_id字段,但是如果service_number为空,就不能填写to_warehouse_id 3、填写了service_number的时候,产品信息是以拉取货件的产品信息作为产品信息,不是以在接口中填写的产品信息作为产品信息 |
| 13 | stpo_remark | 备注信息 | string | — | Optional | 备注信息 |
| 14 | product_barcode_info | 产品信息 | array | — | Optional | 当 service_number为空时,该字段必填 |
| 14.1 | product_barcode | 产品代码 | string | — | Required | 产品代码 |
| 14.2 | quantity | 产品数量 | int | — | Required | 产品数量 |
| 14.3 | stpol_barcode | 海外仓产品代码 | string | — | Required | 海外仓产品代码 |
| 14.4 | stpod_is_combination | 是否组合产品 | int | — | Required | 0否 1是 |
| 14.5 | pea_id | 产品物流属性ID | int | — | Optional | 1、可以通过接口 getProductExpressAttributeNew获取 2、当通过货件单号(service_number)拉取下来的产品时,该字段默认为 0 |
No parameter reference available
The 建立/编辑头程计划单号 API (createAndEditServiceTransferPlanOrder) of 易仓 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 易仓 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.