文档
测试

/dbo/v1/product

POST
/dbo/v1/product

接口描述

新建产品

请求参数body

参数名
类型
描述
必填
description
object
描述信息
必填
content
string
示例:string maxLength: 1023
必填
language
string
示例:en Enum: [ en, zh ]
必填
value
object
金额数值
必填
amount
number
示例:0 minimum: 0
必填
currency
string
示例:USD Enum: [ USD, RMB ]
必填
product_id
string
示例:string
必填
weight
object
重量
必填
value
number
示例:0 maximum: 9999999.999 minimum: 0.01
必填
unit
string
示例:g Enum: [ g, kg, oz, lb ]
必填
dimension
object
尺寸
必填
length
number
示例:0 maximum: 9999999.999 minimum: 0.01
必填
width
number
示例:0
必填
height
number
示例:0
必填
unit
string
示例:mm Enum: [ mm, cm, me, in, ft ]
必填
hs_tariff_code
string
协调关税表产品代码
必填
origin_country
string
国家代码 示例:CN Enum: [ CN, US ]
必填

响应参数

参数名
类型
描述
必填
description
object
数据字典
必填
content
string
示例:string
必填
language
string
示例:en
必填
value
object
数据字典
必填
amount
number
示例:0
必填
currency
string
示例:USD
必填
product_id
string
示例:string
必填
weight
object
数据字典
必填
value
number
示例:0
必填
unit
string
示例:g
必填
dimension
object
数据字典
必填
length
number
示例:0
必填
width
number
示例:0
必填
height
number
示例:0
必填
unit
string
示例:mm
必填
hs_tariff_code
string
示例:string
必填
origin_country
string
示例:CN
必填
oid
string
示例:string
必填
created_datetime
string
示例:2020-04-09T08:48:59.587Z
必填
updated_datetime
string
示例:2020-04-09T08:48:59.587Z
必填

说明 / 示例

{ "description": { "content": "string", "language": "en" }, "value": { "amount": 0, "currency": "USD" }, "product_id": "string", "weight": { "value": 0, "unit": "g" }, "dimension": { "length": 0, "width": 0, "height": 0, "unit": "mm" }, "hs_tariff_code": "string", "origin_country": "CN", "oid": "string", "created_datetime": "2020-04-09T08:48:59.587Z", "updated_datetime": "2020-04-09T08:48:59.587Z" }