开放平台


简要描述
  • open-api 获取补件

请求URL
  • https://ggtools.thinkerx.com/open-api/get_supplement - 接口路由

请求方式
  • POST

header 参数
参数名必选类型说明
token是string开放平台访问令牌(通过 /open-api/token 获取)
sign是string请求签名
body参数

content_type: application/json

参数名必选类型说明
app_key是string开放平台应用 key
timestamp是int请求时间戳(10 位秒级)
page否int页码,默认 1
limit否int每页条数,默认 10,最大 500
oid否int订单 id,传则只返回该订单下的补件
返回示例
{
    "status": 1,
    "msg": "请求成功",
    "data": {
        "total": 2,
        "list": [
            {
                "id": 15,
                "oid": 10001,
                "rid": 20001,
                "ggid": "5a1b2c",
                "plate_count": 1,
                "plate_info": {
                    "plKId": 100001,
                    "plankNum": "B001",
                    "plankName": "侧板"
                },
                "reason": "尺寸错误",
                "create_time": "2026-11-23 10:00:00",
                "order_code": "GG202611230001",
                "customer_name": "张三",
                "buyer_address": "浙江省杭州市",
                "buyer_phone": "13800000000"
            }
        ]
    }
}
返回参数说明
参数名类型说明
statusint响应状态,0:失败,1:成功
msgstring状态说明
dataobject响应数据
object
参数名类型说明
totalint补件板件总数
listarray补件板件列表(按创建倒序)
list
参数名类型说明
idint补件板件 id
oidint订单 id
ridint房间 id
ggidstring板件 ggid
plate_countint补件数量
plate_infoobject板件信息(原样存储的板件数据,含 plKId、plankNum 等)
reasonstring补件原因(无可读原因时为 --)
create_timestring创建时间
order_codestring订单编号
customer_namestring客户名称
buyer_addressstring收货地址
buyer_phonestring收货电话
错误示例
{
    "status": 0,
    "msg": "参数有误'",
    "data": {}
}
{
    "status": 0,
    "msg": "未购买该接口或接口已过期",
    "data": {},
    "date": 1763850000
}
{
    "status": 40004,
    "msg": "token失效",
    "data": "token 验证失败",
    "date": "1763850000000"
}

                   


新格尔累计为
7368555
位用户提供服务

客服热线

联系电话:400-1567-080

微信咨询

扫码在线咨询
企微官网客服在线随时答复

公众号

扫一扫
关注官方公众号

抖音号

扫一扫
关注官方抖音号