获取商品数据
GET
/plugin-wemall/api.goods/get最后修改时间: 5 个月前
请求参数
Body 参数application/x-www-form-urlencoded
code
string
商品编号.eq
示例值:
G805055526897323
cates
string
分类编号.like
marks
string
标签搜索.like
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
info
string
必需
data
object
必需
page
object
必需
list
array [object {35}]
必需
cnames
null
必需
coupon
null
必需
示例
{
"code": 0,
"info": "string",
"data": {
"page": {
"limit": 0,
"total": 0,
"pages": 0,
"current": 0
},
"list": [
{
"id": 0,
"ssid": 0,
"code": "string",
"name": "string",
"marks": [
"string"
],
"cates": {
"id": 0,
"pid": 0,
"name": "string",
"path": "string",
"spc": 0,
"spt": 0,
"spl": "string",
"spp": "string",
"ids": [
0
],
"names": [
"string"
]
},
"cover": "string",
"slider": [
"string"
],
"specs": [
{
"name": "string",
"list": [
{
"name": "string",
"unid": "string",
"check": true
}
]
}
],
"content": "string",
"remark": "string",
"stock_total": 0,
"stock_sales": 0,
"stock_virtual": 0,
"price_selling": "string",
"price_market": "string",
"allow_integral": "string",
"allow_balance": "string",
"rebate_type": 0,
"delivery_code": "string",
"limit_lowvip": 0,
"limit_maxnum": 0,
"level_agent": 0,
"level_upgrade": 0,
"discount_id": 0,
"num_read": 0,
"sort": 0,
"status": 0,
"deleted": 0,
"create_time": "string",
"update_time": "string",
"comments_count": 0,
"discount": null,
"items": [
{
"gsku": "string",
"ghash": "string",
"gcode": "string",
"gspec": "string",
"gunit": "string",
"gimage": "string",
"stock_sales": 0,
"stock_total": 0,
"price_cost": "string",
"price_selling": "string",
"price_market": "string",
"allow_integral": "string",
"allow_balance": "string",
"reward_balance": "string",
"reward_integral": "string",
"number_virtual": 0,
"number_express": 0
}
],
"comments": [
"string"
]
}
],
"cnames": null,
"coupon": null
}
}
最后修改时间: 5 个月前