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 14 Next »

获取预置信息

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

获取可用的海关属性

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


往订单中添加产品

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

参数:图片URL:attachment-url

新产品图片URL为必填,已存在的产品不用穿图片URL(只能传网上的图片,不能传本地的)

参数

//订单id
consignment_id=1909290020000003
//产品英文名称
product_name=1apple29
//产品中文名称
product_name_cn=1苹果29
//客户sku
client_ref=1apple29
//报关价 美元
price_customs_export=3
//重量 g(随系统设置)
weight=100
//数量
quantity=1
//海关属性ID, 可以有多个属性
product_customs_property[]=17
product_customs_property[]=9
//图片URL(不能传本地的图片,只能传存在网上的)
attachment-url=http://www.qqma.com/imgpic2/cpimagenew/2018/4/5/6e1de60ce43d4bf4b9671d7661024e7a.jpg


返回

{
    "data": {
        "id": 3077684,
        "consignment_id": 1909290020000003,
        "product_name": "1apple29",
        "product_name_cn": "1苹果29",
        "client_ref": "1apple29",
        "brand": null,
        "quantity": "1",
        "weight": "100.00",
        "price_customs_export": "3.000",
        "price_customs_export_internal": "3.000",
        "primary_keys": [
            "id"
        ]
    },
    "success": true,
    "moduleName": "client"
}
  • No labels