获取指定商品详细信息
POST
/openapi/goods/details可以查询已经下架的商品,商品下架后佣金相关参数无效
请求参数
Body 参数application/x-www-form-urlencoded
id
string
商品ID
示例值:
1409
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
id
integer
对接商品ID
channelId
integer
必需
operatorType
integer
商品分类
name
string
商品名称
code
string
商品编码
des
string
商品描述
tags
array[integer]
商品标签
shareName
string
必需
star
number
推荐星级
price
integer
售价
tips
string
商品主图
details
array[string]
商品详情图列表
posterId
integer
必需
orderTemplate
integer
必需
backgroundColor
string
主题背景色
settleMode
integer
必需
结算模式,1日结秒返;2次月返佣;3月月返佣;4下单即返
compliance
string
结算要求
commission
integer
达标佣金
monthCommission
array [object {2}]
必需
月返佣金,仅在settleMode=3时有效
matter
string
必需
注意事项,html格式
dockGoodId
string
必需
dockCustom1
string
必需
dockCustom2
string
必需
dockCustom3
string
必需
dockCustom4
string
必需
dockCustom5
string
必需
dockCustom6
string
必需
dockCustom7
string
必需
dockCustom8
string
必需
dockCustom9
string
必需
dockCustom10
string
必需
smsCode
integer
必需
是否需要短信验证码,0否;1是
selectNumber
integer
必需
选号模式,0不支持选号;1全国归属地;2固定归属地;3收货归属地;4省内随机;5省内自选
numberRegion
string
号码归属地,市编码
numberPoolId
integer
必需
uploadPhoto
integer
必需
上传照片模式,0无需上传;1需要上传
provinceCode
string
省市区编码名称
certNoMode
integer
证件验证,1是
isOffline
integer
是否线下自提,1是
orderRemark
integer
是否开启下单备注
limitRule
object
下单限制规则
alarmRules
array[string]
报警规则
noticeRules
null
通知规则
callDuration
integer
通话时长
commonFlow
integer
通用流量
fixedFlow
integer
定向流量
monthFee
integer
月租
favourMonthFee
integer
优惠月租
favourTerm
integer
优惠期限
sort
integer
必需
status
integer
必需
商品状态,1上架中,其他已下架。非1状态佣金属性无效
createdBy
integer
必需
updatedBy
integer
必需
offShelfAt
null
下架时间
createdAt
string
必需
updatedAt
string
必需
saleAuthority
boolean
必需
allTags
array [object {6}]
完整标签选项
timestamp
integer
必需
traceID
string
必需
示例
{
"code": 0,
"message": "string",
"data": {
"id": 0,
"channelId": 0,
"operatorType": 0,
"name": "string",
"code": "string",
"des": "string",
"tags": [
0
],
"shareName": "string",
"star": 0,
"price": 0,
"tips": "string",
"details": [
"string"
],
"posterId": 0,
"orderTemplate": 0,
"backgroundColor": "string",
"settleMode": 0,
"compliance": "string",
"commission": 0,
"monthCommission": [
{
"commission": "string",
"month": "string"
}
],
"matter": "string",
"dockGoodId": "string",
"dockCustom1": "string",
"dockCustom2": "string",
"dockCustom3": "string",
"dockCustom4": "string",
"dockCustom5": "string",
"dockCustom6": "string",
"dockCustom7": "string",
"dockCustom8": "string",
"dockCustom9": "string",
"dockCustom10": "string",
"smsCode": 0,
"selectNumber": 0,
"numberRegion": "string",
"numberPoolId": 0,
"uploadPhoto": 0,
"provinceCode": "string",
"certNoMode": 0,
"isOffline": 0,
"orderRemark": 0,
"limitRule": {
"age": [
"string"
],
"fraudFilter": true,
"noShippingKeyword": [
"string"
],
"noShippingRegion": [
"string"
],
"onlyShippingRegion": [
"string"
],
"person": {
"count": 0,
"cycle": 0
}
},
"alarmRules": [
"string"
],
"noticeRules": null,
"callDuration": 0,
"commonFlow": 0,
"fixedFlow": 0,
"monthFee": 0,
"favourMonthFee": 0,
"favourTerm": 0,
"sort": 0,
"status": 0,
"createdBy": 0,
"updatedBy": 0,
"offShelfAt": null,
"createdAt": "string",
"updatedAt": "string",
"saleAuthority": true,
"allTags": [
{
"key": 0,
"label": "string",
"value": 0,
"valueType": "string",
"type": "string",
"listClass": "string"
}
]
},
"timestamp": 0,
"traceID": "string"
}
最后修改时间: 4 months ago