注册产品流程

注册产品流程

在鸟系统中注册产品 :

因为涉及物流运输,清关报关,头程和订单的产品都需要事先在鸟系统中注册, 登记产品的名称,品牌,尺寸,重量,海关属性等信息。

注册产品的流程是:

(1) 客户创建产品, 完善好各项信息后, 改为待处理状态

(2) 仓库对待处理状态的产品进行预审

(3) 如预审有问题, 会将产品改到有问题状态, 通知客户进行处理

(4) 客户修改完善后, 将产品改为 “需再次检查”状态

(5) 重复步骤 2,3,4 直到产品符合要求

(6) 仓库人员将产品改到 "正常" 状态, 这样客户可以在头程和订单中使用产品

以上流程中, 步骤1和4是需要客户操作的,

以下是客户需要操作的步骤详解:


一. 建立连接

在创建订单前, 我们先要了解如何建立连接。

鸟系统是使用Restful API与第三方系统交互的。为了识别用户身份,需要在每个请求中包含身份标识,这个动作我们称为建立连接, 可参考链接 :建立连接

二. 产品操作 (添加,查询)

三. 批量修改产品状态

url

https://test.birdsystem.com/client/Product/Batch-Update-Status

method

post

body

form 参数如下:

ids

产品ID

 必填

VARCHAR(255) ,多个ID以下划线分隔

status

目标状态

 必填

VARCHAR(10), 固定为PENDING

例子:

ids:499247_499243

status:PENDING

返回

{ "success":true }

 

四. 修改产品,等待审核

主要修改产品的错误信息和状态, 

预审通过, 产品状态为ACTIVE, 则无需更改,

如果预审失败, 产品状态为PROBLEM, 需要根据预审人员提示修改产品的信息, 并将状态改为RECHECK, 等待预审结果, 如果预审失败, 重复此步骤。

下边是以修改产品3为例

url

http://test.birdsystem.com/client/Product/

method

post

body

form 参数如下:

id

产品ID

 必填

INTEGER(10) ,

status

目标状态

 必填

VARCHAR(10), 固定为RECHECK

name

产品名

 必填

VARCHAR(100)

name_customs

产品申报名

 必填

VARCHAR(100)

material

材质

 必填

VARCHAR(50)

usage

用途

 必填

VARCHAR(50)

brand

品牌

 必填

VARCHAR(50)

customs_category_id

海关分类ID

 必填

INTEGER(10)

同步海关分类详情见获取海关分类

price_customs_export

产品出口申报价(美金)

 必填

DECIMAL(10,3)

详见二产品操作里的其他字段 ...

...

 选填



返回

{ "data": { "product_volume_level_code": null, "product_stock_volume_level_code": null, "product_sales_level_code": null, "directional_share_total": null, "total": null, "price": null, "cost": null, "is_shared_internal": null, "is_shared_external": null, "client_dispatch_product_id": null, "product_stock_level_code": null, "company_id": null, "warehouse_id": null, "live_volume": null, "sales_quantity": null, "sales_volume": null, "volume": null, "id": 3, "client_id": 47, "crossing_harbor_name_id": null, "customs_clear_name_id": null, "name": "light123", "name_customs": "light", "material": "metal", "usage": "normal", "brand": "heiha", "url": null, "color": null, "model": null, "shape_type": "NORMAL_SHAPE", "product_risk_level": "LOW", "customs_value_level": "LOW", "customs_category_id": 27, "commodity_code": null, "note": null, "description": null, "price_customs_import": null, "price_customs_export": "30.000", "price_customs_export_internal": "0.000", "handling_fee": "0.00", "delivery_fee_adjustment": "0.00", "client_ref": null, "company_ref": null, "weight": "0.00", "length": "0.00", "width": "0.00", "depth": "0.00", "dimension_lock": "0", "live_stock": "0", "frozen_stock": "0", "pending_stock": "0", "low_stock_level": "0", "inventory_time": "0", "is_use_delivery_cost": "0", "is_no_handling_fee": "0", "is_vip": "0", "last_info_check_time": null, "last_stock_update_time": null, "last_in_stock_time": null, "last_out_stock_time": null, "last_update_status_time": null, "update_time": "2018-11-19 16:59:54", "note_internal": "", "return_action": null, "status": "PREPARING", "primary_keys": [ "id" ] }, "success": true, "moduleName": "client" }