DOCS

Request a bulk classification

/

请求批量分类

探索批量分类请求中的键/值对。

创建一个新的请求,用于对通用(6位)或特定国家(8+位)HS代码的批量商品进行分类。批量分类请求的限制基于AWS 90秒超时,这大约相当于2,000个分类。

注意: 要获得分类,您必须提供一个description。您可以选择提供哪个字段,但我们建议您提供尽可能多的信息,以获得更准确的分类。

属性 

请求体中的JSON键/值对

POST | https://api.zonos.com/v1/classify/bulk

上述标题是此批量分类请求成功完成所需的输入。

字段备注
items 必填要分类的出口商品列表。
item[index].item.age 可选商品的年龄。例如,“1784-1820”或“公元3世纪”。
items[index].item.amount 可选商品的价格。
items[index].item.brand 可选商品的品牌。
items[index].item.category 可选商品类别。
items[index].item.description 必填商业发票的商品描述。此描述通常与零售描述不同,通常包括对商品的总体描述、材料及用途。
items[index].item.detail 可选商品的附加特征、属性或描述。
items[index].item.gender 可选与商品相关的性别参考。
items[index].item.hs_code 可选HS代码的已知位数,将用于子分类。例如,如果您正在对一系列针织服装进行分类,请输入“61”以强制逻辑查找第61章中的代码。
items[index].item.image_url 可选图片URL。
items[index].item.language_code 可选ISO 639-1语言代码。如果为null,则默认语言为英语。
item[index].material 可选商品的材料成分。
item[index].product_id 可选商家或出口商为产品分配的唯一商品标识符。
item[index].sub_category 可选与商品最密切相关的类别。
ship_to_countries 可选目的国,两字母ISO代码表示。此字段对于特定国家的HTS八位+分类是必需的。

示例请求

CLASSIFY 请求

JSON

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
  "items": [
    {
      "item": {
        "id": "29342",
        "amount": 12.99,
        "brand": null,
        "category": "women's clothing",
        "description": "Cozy Design Women's Knitted Gloves with Roll Up Cuffs for Winter",
        "detail": null,
        "gender": "women",
        "hs_code": "6116",
        "image_url": "https://zonos.com/images/cozygloves.png",
        "item_age": null,
        "language_code": "en",
        "material": "cotton",
        "product_id": "895669256385",
        "sub_category": "women's accessories"
      }
    },
    {
      "item": {
        "id": "29343",
        "amount": 19.99,
        "brand": null,
        "category": null,
        "description": "Cadet Army Cap Basic Everyday Military Style Hat",
        "detail": null,
        "gender": "men's",
        "hs_code": null,
        "image_url": "https://zonos.com/images/cadethat.png",
        "item_age": null,
        "language_code": "en",
        "material": null,
        "product_id": "895669256378",
        "sub_category": null
      }
    },
    {
      "item": {
        "id": "29344",
        "amount": 45.29,
        "brand": "Ray Ban",
        "category": "Accessories",
        "description": "Vintage Aviator Square Sunglasses",
        "detail": null,
        "gender": null,
        "hs_code": null,
        "image_url": "https://zonos.com/images/vintagesunglasses.png",
        "item_age": null,
        "language_code": "en",
        "material": null,
        "product_id": "895669256399",
        "sub_category": "Sunglasses"
      }
    }
  ],
  "ship_to_countries": ["CA", "FR"]
}

CLASSIFY 对象

JSON

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
  "items": [
    {
      "id": "29342",
      "ship_to_country": "CA",
      "hs_code": "6116.99.0000",
      "tariff_description": "Of other textile materials",
      "chapter": "61",
      "chapter_description": "Apparel and clothing, knitted or crocheted",
      "heading": "6116",
      "heading_description": "Gloves, mittens, and mitts, knitted or crocheted",
      "subheading": "6116.99",
      "subheading_description": "Gloves, mittens, and mitts of other textile materials",
      "combinedDescription": "Of other textile materials: of other textile materials",
      "truncatedCombinedDescription": "Of other textile materials: of other textile"
    },
    {
      "id": "29342",
      "ship_to_country": "FR",
      "hs_code": "6116.99.0000",
      "tariff_description": "Of other textile materials",
      "chapter": "61",
      "chapter_description": "Apparel and clothing, knitted or crocheted",
      "heading": "6116",
      "heading_description": "Gloves, mittens, and mitts, knitted or crocheted",
      "subheading": "6116.99",
      "subheading_description": "Gloves, mittens, and mitts of other textile materials",
      "combinedDescription": "Of other textile materials: of other textile materials",
      "truncatedCombinedDescription": "Of other textile materials: of other textile"
    },
    {
      "id": "29343",
      "ship_to_country": "CA",
      "hs_code": "6505.00.4000",
      "tariff_description": "Other hats, hoods, caps, bonnets or berets",
      "chapter": "65",
      "chapter_description": "Hats and headgear",
      "heading": "6505",
      "heading_description": "Hats and other headgear of textile materials; visors, hairnets, etc.",
      "subheading": "6505.00",
      "subheading_description": "knitted hats and visors",
      "combinedDescription": "Other hats, hoods, caps, bonnets or berets",
      "truncatedCombinedDescription": "Other hats, hoods, caps, bonnets or berets"
    },
    {
      "id": "29343",
      "ship_to_country": "FR",
      "hs_code": "6505.00.3000",
      "tariff_description": "Peaked caps",
      "chapter": "65",
      "chapter_description": "Hats and headgear",
      "heading": "6505",
      "heading_description": "Hats and other headgear of textile materials; visors, hairnets, etc.",
      "subheading": "6505.00",
      "subheading_description": "knitted hats and visors",
      "combinedDescription": "Hats and other headgear, knitted or crocheted, or made up from lace, felt or other textile fabric, in the piece (but not in strips), whether or not lined or trimmed; hair-nets of any material, whether or not lined or trimmed: Peaked caps",
      "truncatedCombinedDescription": "Hats and other headgear, knitted or crocheted"
    },
    {
      "id": "29344",
      "ship_to_country": "CA",
      "hs_code": "9004.10.0000",
      "tariff_description": "Sunglasses",
      "chapter": "90",
      "chapter_description": "Optic fiber cables, optical lenses, glasses, binoculars, cameras and projectors, medical appliances, and other measuring instruments",
      "heading": "9004",
      "heading_description": "Eyewear",
      "subheading": "9004.10",
      "subheading_description": "Sunglasses",
      "combinedDescription": "Spectacles, goggles and the like, corrective, protective or other: sunglasses: Sunglasses",
      "truncatedCombinedDescription": "Spectacles, goggles and the like, corrective,"
    },
    {
      "id": "29344",
      "ship_to_country": "FR",
      "hs_code": "9004.10.9900",
      "tariff_description": "Other: other",
      "chapter": "90",
      "chapter_description": "Optic fiber cables, optical lenses, glasses, binoculars, cameras and projectors, medical appliances, and other measuring instruments",
      "heading": "9004",
      "heading_description": "Eyewear",
      "subheading": "9004.10",
      "subheading_description": "Sunglasses",
      "combinedDescription": "Spectacles, goggles and the like, corrective, protective or other: sunglasses",
      "truncatedCombinedDescription": "Spectacles, goggles and the like, corrective,"
    }
  ]
}

这个页面有帮助吗?


有问题吗?

联系我们。
在本页上: