Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

获取预置信息

往代理专线订单添加产品的时候, 需要产品海关属性, 可以预存到你们系统里, 不经常改变, 不需要每次都请求.

获取可用的海关属性

Unable to render {include} The included page could not be found.


往订单中添加产品

地址: POST http://test.birdsystem.com/client/Agent-Direct-Consignment-Product/

参数

//订单id
consignment_id=1904100360000001
//产品英文名称
product_name=light
//产品中文名称
product_name_cn=灯
//客户sku
client_ref=47
//报关价 美元
price_customs_export=1
//重量 g(随系统设置)
weight=20
//数量
quantity=1
//海关属性ID, 可以有多个属性
product_customs_property[]=17
product_customs_property[]=9


返回

{
    "data": {
        "id": 32705,
        "consignment_id": 1904100360000001,
        "product_name": "light",
         "product_name_cn": "灯",
         "client_ref": "47",
        "quantity": "1",
        "weight": "20.00",
        "price_customs_export": "1.000",
        "price_customs_export_internal": "1.000",
        "primary_keys": [
            "id"
        ]
    },
    "success": true,
    "moduleName": "client"
}
  • No labels