Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

获取预置信息

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

...

Include Page
获取产品海关属性
获取产品海关属性


往订单中添加产品

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

参数:图片URL:attachment-url

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

参数

Code Block
//订单id
consignment_id=19041003600000011909290020000003
//产品英文名称
product_name=light1apple29
//产品中文名称
product_name_cn=1苹果29
//客户sku
client_ref=471apple29
//报关价 美元
price_customs_export=13
//重量 g(随系统设置)
weight=20100
//数量
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


返回

Code Block
collapsetrue
{
    "data": {
        "id": 327053077684,
        "consignment_id": 19041003600000011909290020000003,
        "product_name": "light1apple29",
         "product_name_cn": "1苹果29",
         "client_ref": "1apple29",
        "47brand": null,
        "quantity": "1",
        "weight": "20100.00",
        "price_customs_export": "13.000",
        "price_customs_export_internal": "13.000",
        "primary_keys": [
            "id"
        ]
    },
    "success": true,
    "moduleName": "client"
}

...