汇卡SUP开放接口
  1. 产品接口
汇卡SUP开放接口
  • 产品介绍
  • 加密算法
  • 接口列表
    • 运维接口
      • 健康检查
    • 分类接口
      • 查询分类列表
    • 产品接口
      • 查询产品列表
        POST
      • 查询产品详情
        POST
    • 订单接口
      • 订单新增
      • 订单查询
      • 回调通知
  1. 产品接口

查询产品列表

POST
/v1/product/page
最后修改时间:2025-03-30 10:04:00

请求参数

Body 参数application/json
页码,默认1
pageNumber
integer 
必需
pageSize
integer 
必需
每页数据数量,默认10
categoryId
integer 
分类ID
可选
status
integer 
可选
状态(1-销售,2-暂停,3-禁售)
keyword
string 
名称(模糊查询)
可选
示例
{
  "pageNumber": 1,
  "pageSize": 20,
  "categoryId": null,
  "status": null,
  "name": null
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/product/page' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pageNumber":1,
    "pageSize": 20,
    "categoryId": null,
    "status": null,
    "name": null
}'

返回响应

🟢200成功
application/json
Body
code
integer 
状态码
必需
msg
string 
信息
必需
data
object 
数据
必需
records
array [object {18}] 
数据列表
必需
pageNumber
integer 
当前页码,默认1
必需
pageSize
integer 
必需
每页数据数量,默认10
totalPage
integer 
总页数
必需
totalRow
integer 
总数据数量
必需
示例
{
  "code": 200,
  "msg": "操作成功",
  "data": {
    "records": [
      {
        "id": 110056,
        "name": "【官方直充】腾讯视频会员7天",
        "icon": "https://cdn.gamesup.cn/dev/20250223/18b0c189112a878fc2c79c2a3f365672.png",
        "type": 1,
        "maxBuyNum": 1,
        "faceValue": null,
        "enableSalesChannels": [
          "私域",
          "拼多多",
          "闲鱼",
          "淘宝",
          "京东",
          "小红书"
        ],
        "disableSalesChannels": [
          "抖音",
          "快手"
        ],
        "limitPrice": null,
        "limitBalance": null,
        "limitGuarantee": null,
        "description": "<p><img src=\"https://cdn.gamesup.cn/dev/20250223/43c17396fd2ac2053ca9398a458fbcb4.png\" alt=\"\"/><img src=\"https://cdn.gamesup.cn/dev/20250223/12f31b20c42f410405acb94e7f5db3ed.png\" alt=\"\"/><img src=\"https://cdn.gamesup.cn/dev/20250223/4db36f18912d9666149d91e9643ce554.png\" alt=\"\"/><br/></p>",
        "categoryId": 100025,
        "categoryName": "腾讯视频",
        "salesPrice": "7.95",
        "status": 1,
        "stockNum": 99999,
        "template": [
          {
            "key": "account",
            "name": "手机号",
            "pattern": [
              "phone"
            ],
            "type": "text",
            "maxlength": 11,
            "placeholder": "请输入手机号",
            "required": null
          }
        ]
      },
      {
        "id": 110060,
        "name": "【官方直充】腾讯视频会员1个月---仅淘宝/闲鱼",
        "icon": "https://cdn.gamesup.cn/dev/20250223/49f06f2e6360f7e54b8a0a0ef18a5f1f.png",
        "type": 1,
        "maxBuyNum": 1,
        "faceValue": null,
        "enableSalesChannels": [
          "闲鱼",
          "淘宝"
        ],
        "disableSalesChannels": [
          "拼多多",
          "京东",
          "小红书",
          "抖音",
          "快手",
          "私域"
        ],
        "limitPrice": null,
        "limitBalance": 50000,
        "limitGuarantee": null,
        "description": "<p><img src=\"https://cdn.gamesup.cn/dev/20250223/bc0a0045a030c7e163f3e528a3071fd6.png\" alt=\"\"/><img src=\"https://cdn.gamesup.cn/dev/20250223/7cd4af7432b9b9a4d9e39992e5b52c2b.png\" alt=\"\"/><img src=\"https://cdn.gamesup.cn/dev/20250223/3a6714ac155dc80c75af0268b8dbc86b.png\" alt=\"\"/><br/></p>",
        "categoryId": 100025,
        "categoryName": "腾讯视频",
        "salesPrice": "15.44",
        "status": 1,
        "stockNum": 99999,
        "template": [
          {
            "key": "account",
            "name": "手机号",
            "pattern": [
              "phone"
            ],
            "type": "text",
            "maxlength": 11,
            "placeholder": "请输入手机号",
            "required": null
          }
        ]
      }
    ],
    "pageNumber": 1,
    "pageSize": 10,
    "totalPage": 10,
    "totalRow": 93
  }
}
上一页
查询分类列表
下一页
查询产品详情
Built with