Versions Compared

Key

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

...

接口说明:(无入参)

...

id

系统ID

INT(10)

name

名称

VARCHAR

special_type

海关属性类型

ENUM('NORMAL','CLOTHING','BETTERY')
com/client/product-customs-property

...

海关属性的查询接口。每个产品(鸟系统正式产品或者代理专线订单产品)必须填写海关属性



接口功能

获取产品的海关属性
支持格式JSON开发人员
请求方式GET发布日期

接口返回示例:

Code Block
collapsetrue
{
    "total": 22,
    "data": [
        {
            "id": 1,
            "name": "内置锂离子电池",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "#",
            "is_separate_picking_list": "1",
            "is_separate_warehouse_transfer": "1",
            "consignment_priority": "2",
            "picking_list_group": "HK-锂离子",
            "create_time": "2015-07-07 10:12:52",
            "special_type": "BETTERY",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 2,
            "name": "插头",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2015-07-07 10:13:03",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 3,
            "name": "纯电池",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "1",
            "picking_list_group": "HK",
            "create_time": "2015-07-07 10:14:05",
            "special_type": "BETTERY",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 4,
            "name": "纺织品",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2015-07-07 10:14:20",
            "special_type": "CLOTHING",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 5,
            "name": "家居品",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2015-07-07 10:14:31",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 6,
            "name": "玩具类",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2015-07-07 10:14:52",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 7,
            "name": "Led类",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2015-07-07 10:15:07",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 9,
            "name": "其它",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2015-12-17 15:54:25",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 10,
            "name": "内置锂金属电池",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "#",
            "is_separate_picking_list": "1",
            "is_separate_warehouse_transfer": "1",
            "consignment_priority": "3",
            "picking_list_group": "HK-锂金属",
            "create_time": "2016-03-14 16:53:51",
            "special_type": "BETTERY",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 11,
            "name": "干电池",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "#",
            "is_separate_picking_list": "1",
            "is_separate_warehouse_transfer": "1",
            "consignment_priority": "1",
            "picking_list_group": "HK",
            "create_time": "2016-04-13 18:47:32",
            "special_type": "BETTERY",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 14,
            "name": "指尖陀螺",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2017-06-23 18:51:40",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 15,
            "name": "商检产品",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "1",
            "is_separate_warehouse_transfer": "1",
            "consignment_priority": "1",
            "picking_list_group": "HK",
            "create_time": "2017-07-28 17:23:53",
            "special_type": "HK",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 16,
            "name": "UK认证",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2017-08-01 18:29:55",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 17,
            "name": "普货",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "普货",
            "create_time": "2017-08-01 18:30:15",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 18,
            "name": "UK禁运",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2017-08-02 16:02:52",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 19,
            "name": "磁性物质",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "7",
            "picking_list_group": "国内",
            "create_time": "2017-08-09 10:44:28",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 20,
            "name": "激光产品",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "8",
            "picking_list_group": "国内",
            "create_time": "2018-06-11 19:09:32",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 21,
            "name": "电子类",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "1",
            "is_separate_warehouse_transfer": "1",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2018-08-07 10:33:38",
            "special_type": "HK",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 22,
            "name": "木质类",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2018-08-17 11:22:31",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 23,
            "name": "团团侠专用属性",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2019-01-09 11:10:56",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 58,
            "name": "电池",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "#",
            "is_separate_picking_list": "1",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "2",
            "picking_list_group": "HK-锂离子",
            "create_time": "2019-06-27 15:25:09",
            "special_type": "BETTERY",
            "primary_keys": [
                "id"
            ]
        },
        {
            "id": 59,
            "name": "管制产品",
            "value_type": "BOOL",
            "default_value": null,
            "symbol": "",
            "is_separate_picking_list": "0",
            "is_separate_warehouse_transfer": "0",
            "consignment_priority": "99",
            "picking_list_group": "DEFAULT",
            "create_time": "2020-02-21 10:29:11",
            "special_type": "NORMAL",
            "primary_keys": [
                "id"
            ]
        }
    ],
    "success": true,
    "moduleName": "client"
}

获取指定产品的属性

接口说明:

URL
http://test.birdsystem.com/client/Product-Customs-Property/Get-All-Label/?product_id=XXX

接口功能

获取指定产品的海关属性
支持格式JSON开发人员
请求方式GET发布日期

参数说明:

参数说明类型
product_id产品ID,即系统skuINT(10)

请求示例:

http://test.birdsystem.com/client/Product-Customs-Property/Get-All-Label/?product_id=175191

接口返回示例:----------有问题,查到还是全部的海关属性。

Image Added