闲管家开放平台(作废)
  1. 商品
闲管家开放平台(作废)
  • 接入说明
  • 代码示例
  • 商品
    • 查询商品详情
      POST
    • 查询商品列表
      POST
    • 创建商品
      POST
    • 创建商品(批量)
      POST
    • 编辑商品
      POST
    • 下架商品
      POST
    • 删除商品
      POST
    • 库存同步
      POST
  • 订单
    • 查询订单
      POST
    • 订单发货
      POST
  • 推送
    • 订单推送
      POST
  • 用户
    • 查询闲鱼号授权列表
      POST
  1. 商品

查询商品详情

将废弃
POST
https://api.goofish.pro/sop/product/query
最后修改时间:2023-07-26 10:13:53

请求参数

Query 参数
appid
string 
必需
开放平台的AppKey
默认值:
{{appid}}
timestamp
string 
必需
当前时间戳(单位秒,5分钟内有效)
默认值:
{{timestamp}}
sign
string 
必需
签名MD5值(参考签名说明)
默认值:
{{sign}}
Body 参数application/json
product_id
string 
管家商品ID
必需
示例:219530767978565
正则匹配:
/^\d{15,}$/
示例
{
    "product_id": "220656347074629"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.goofish.pro/sop/product/query?appid=&timestamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
    "product_id": "220656347074629"
}'

返回响应

🟢200成功
application/json
Body
status
integer 
必需
data
object 
必需
product_id
string 
闲鱼管家商品ID
必需
示例:219530767978565
item_biz_type
enum<integer> 
商品类型ID
必需
示例:2
枚举值:
2657891001014
sp_biz_type
enum<integer> 
商品分类ID
必需
示例:1
枚举值:
01238916171819202122232425272829
channel_cat_id
string 
商品类目ID
必需
示例:e11455b218c06e7ae10cfa39bf43dc0f
original_price
integer 
商品原价(分)
必需
示例:299900
price
integer 
商品售价(分)
必需
示例:199900
stock
integer 
商品库存
必需
示例:10
title
string 
商品标题
必需
示例:iPhone 12 128G 黑色
district_id
integer 
发货地区ID
必需
示例:440305
outer_id
string 
商家编码
必需
示例:2021110112345
stuff_status
enum<integer> 
商品成色
必需
示例:100
枚举值:
0100-199959080706050
express_fee
integer 
运费(分)
必需
示例:10
product_status
enum<integer> 
管家商品状态:
必需
示例:10
枚举值:
-1102122233132
images
array[string]
商品图片URL
必需
示例:["https://xxx.com/xxx1.jpg","https://xxx.com/xxx2.jpg"]
desc
string 
商品描述
必需
示例:手机成色不错
spec_type
enum<integer> 
商品规格类型
必需
示例:2
枚举值:
12
sku_items
array [object {5}] 
商品SKU
必需
sp_guarantee
string 
商品标签
必需
示例:1,2(最多设置两个)

标签字典:
1: 100%验货
2: 正品鉴别
3: 七天包退
4: 一年质保
5: 48小时发货
7: 质量问题包退
8: 一物一证
online_time
integer 
商品上架时间
必需
示例:1636019388
offline_time
integer 
商品下架时间
必需
示例:1636019388
sold_time
integer 
商品售罄时间
必需
示例:1636019388
modify_time
integer 
商品更新时间
必需
示例:1636013302
create_time
integer 
商品创建时间
必需
示例:1636013302
book_data
object 
图书信息
可选
report_data
object 
验货报告信息
可选
仅已验货自检商品类型传入
source
enum<integer> 
商品来源
必需
示例:91
枚举值:
11122191
support_sdr_policy
enum<integer> 
是否支持七天无理由
必需
枚举值:
10
support_nfr_policy
enum<integer> 
是否支持描述不符包邮退
必需
枚举值:
10
示例
{
    "status": 200,
    "data": {
        "product_id": "220656347074629",
        "item_biz_type": 2,
        "sp_biz_type": 17,
        "channel_cat_id": "01b666516c0678431921b9e373cead75",
        "original_price": 800000,
        "price": 500000,
        "stock": 40,
        "title": "单规格修改",
        "district_id": 440305,
        "outer_id": "2021110112345",
        "stuff_status": 100,
        "express_fee": 100,
        "product_status": 10,
        "spec_type": 2,
        "source": 91,
        "online_time": 0,
        "offline_time": 0,
        "sold_time": 0,
        "modify_time": 1639653197,
        "create_time": 1639482394,
        "images": [
            "https://imgdev.sosotec.com/product/20211104/102151-9011grtk.jpg"
        ],
        "desc": "",
        "sku_items": [
            {
                "price": 500000,
                "stock": 10,
                "sku_text": "颜色:白色;容量:128G",
                "outer_id": ""
            },
            {
                "price": 600000,
                "stock": 10,
                "sku_text": "颜色:白色;容量:256G",
                "outer_id": ""
            },
            {
                "price": 500000,
                "stock": 10,
                "sku_text": "颜色:黑色;容量:128G",
                "outer_id": ""
            },
            {
                "price": 600000,
                "stock": 10,
                "sku_text": "颜色:黑色;容量:256G",
                "outer_id": ""
            }
        ],
        "sp_guarantee": ""
    }
}
上一页
代码示例
下一页
查询商品列表
Built with