编辑更新海关备案信息
接口描述
针对海外商家发货使用小红书物流的商品需要进行海关备案,该接口用于更新海关备案部分信息。请注意更新时请求body中的所有字段必填做替换资源操作。当商品处于预售阶段时,不支持此信息修改。
URL
/ark/open_api/v1/spv/{spv_id}/customs
URL Parameter
名称 | 类型 | 必填 | 说明 |
---|---|---|---|
spv_id | String | Yes | 已存在的SPV ID |
Method
PUT
Request Body (content-type:application/json;charset=utf8)
请务必按以下字段要求添加数据,以免系统报错。
{
"import_cost":123,
"manufacturer": "test modified",
"ingredient": "test modified",
"usage": "test modified",
"customs_photos_urls":[
"http://img.xiaohongshu.com/items/3135edc58855dcf047fc39161ee9f687@2o.jpg"
],
"customs_specification":"test modified"
}
Request Body Parameters
名称 | 类型 | 说明 |
---|---|---|
import_cost | Float | 进口成本价(CNY)(可粗略估计) |
manufacturer | String | 生产厂家(填写全称,中文/英文) |
customs_specification | String | 规格型号(例如,液体:10ml,10ml/支 (等其他计量单位) ;固体:10g,10g/支 (等其他计量单位);配饰/鞋子/服装:尺寸、尺码、颜色。) |
ingredient | String | 材质或成分含量(例如,水、二氧化碳等;帆布、牛皮等) |
usage | String | 用途(例如,护肤等;背包、双肩包、凉鞋等) |
customs_photos_urls | Array | 商品图片(用于海关备案) |
Response 200 (application/json;charset=utf-8)
{
"error_code": 0,
"data": {
"spvs": [
{
"spu_id": "58e5b5f5af0a672afacf4564",
"pending_changes": null,
"import_cost": 123,
"net_weight": 25,
"qty": 1,
"spl_id": "58e5b5f5af0a672afacf4565",
"id": "58e5b5f6af0a672afacf4568",
"unit": "件",
"barcode_type": "upc",
"non_desc_variants": [
{
"ename": "Shoes Size",
"id": "56d84f9a805d891008705276",
"value": "S",
"name": "尺码"
}
],
"state": 1,
"usage": "test modified",
"shelf_life": 270,
"ingredient": "test modified",
"status": 2,
"customs_photos_urls": [
"http://img.xiaohongshu.com/items/3135edc58855dcf047fc39161ee9f687@2o.jpg"
],
"barcode": "test01",
"gross_weight": 45,
"customs_photos": [
{
"path": "items/d84d018842bbff888a8a132fcf445769",
"link": "http://img.xiaohongshu.com/items/d84d018842bbff888a8a132fcf445769",
"name": "testv1all002-1490980823567",
"extension": ".jpg"
}
],
"manufacturer": "test modified",
"customs_specification": "test modified",
"country": "中国"
}
],
"items": [],
"spls": [],
"spus": [],
"spl_items": []
},
"error_msg": null,
"success": true
}
Response parameters
名称 | 类型 | 说明 |
---|---|---|
pending_changes | Array | 待审核的更改信息 |
spus | Array | SPU模块信息 |
spls | Array | SPL模块信息 |
spl_items | Array | SPL ITEM模块信息 |
spvs | Array | SPV模块信息 |
id | String | SPV ID |
items | Array | ITEM模块信息 |
补充说明
- state & status 具体状态码请参考商品状态码
Copyright © 2014-2018 行吟信息科技(上海)有限公司