Skip to content

商品详情 GET

TIP

接口状态:已完成
接口URL:GET http://接口域名/api/supplier/goods/v2/goods?goodsSN=
Content-Type:multipart/form-data
认证方式:无需认证

Header 请求参数

参数名参数值是否必填参数类型描述说明
Appid供货后台获取String
Apptoken123456String
AppTimestamp1722218119String

Query 请求参数

参数名参数值是否必填参数类型描述说明
goodsSNString商品编号

响应示例

成功 (200)

json
{
  "code": 100,
  "msg": "ok",
  "result": {
    "Id": 1,
    "Gid": "758",
    "AddTime": 1698202421,
    "GoodsName": "11测试",
    "ShequId": 4,
    "IsClose": 2,
    "CategoryId3": 10,
    "CategoryId2": 3,
    "GoodsType": 1,
    "CategoryId": 1,
    "Sort": 1,
    "GoodsThumb": "http:\/\/58.57sj.cn\/upload\/console\/goods\/5e942ea421b4ae146eb0ea2022095fda.png",
    "GoodsPrice": "1.00000000",
    "ParamsTemplate": "[{\"description\":\"连接\",\"is_default\":false,\"key\":\"作品链接\",\"name\":\"连接111\",\"type\":1,\"type_config\":\"\",\"value\":{\"max\":1,\"min\":100}}]",
    "CanTui": "1",
    "CanRepeat": 1,
    "IsSecret": 1,
    "OtherName": "",
    "GoodsUnit": "个",
    "GongId": 71,
    "Bs": 1,
    "MinOrderNum": 2,
    "MaxOrderNum": 10000,
    "LimitMoney": "10.00",
    "LimitCount": -1,
    "GoodsDesc": "GoodsDesc",
    "GoodsDetail": "",
    "JiuwuType": "",
    "Lable": "Lable",
    "IsTb": 1,
    "IsIndex": 1,
    "IsTc": 1,
    "TcTitle": "TcTitle",
    "TcContent": "TcContent",
    "SfGoodsName": "SfGoodsName",
    "Bq": "Bq",
    "GoodsStock": 1000,
    "IsMx": 1,
    "MxSort": 1,
    "TbTime": 1698661781,
    "AuditStatus": 1,
    "SSupid": 0
  }
}
参数名参数值是否必填参数类型描述说明
code100Integer
msgokString
resultObject
result.Id1Integer
result.Gid758String
result.AddTime1698202421Integer创建时间
result.GoodsName11测试String商品名称
result.ShequId4Integer
result.IsClose2Integer
result.CategoryId310Integer
result.CategoryId23Integer
result.GoodsType1Integer
result.CategoryId1Integer
result.Sort1Integer
result.GoodsThumbhttp://duckduck.my/1.pngString
result.GoodsPrice1.00000000String
result.ParamsTemplate下单参数JSON格式String
result.CanTui1String
result.CanRepeat1Integer
result.IsSecret1Integer
result.OtherNameString
result.GoodsUnitString
result.GongId71Integer
result.Bs1Integer
result.MinOrderNum2Integer
result.MaxOrderNum10000Integer
result.LimitMoney10.00String
result.LimitCount-1Integer
result.GoodsDescGoodsDescString
result.GoodsDetailString
result.JiuwuTypeString
result.LableLableString
result.IsTb1Integer
result.IsIndex1Integer
result.IsTc1Integer
result.TcTitleTcTitleString
result.TcContentTcContentString
result.SfGoodsNameSfGoodsNameString
result.BqBqString
result.GoodsStock1000Integer
result.IsMx1Integer
result.MxSort1Integer
result.TbTime1698661781Integer
result.AuditStatus1Integer
result.SSupid0Integer