注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 千牛业务API

qimen.taobao.qianniu.autotask.bapp.strategy.get (查询小程序策略设置)

查询小程序策略设置

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
options Options 可选 options
  • └ traceId
  • String
  • 可选
  • XXXX
  • traceId
  • └ scene
  • String
  • 可选
  • PayOrderCheck
  • 场景
bizData BizData 可选 bizData
  • └ sellerId
  • String
  • 可选
  • 263667666
  • sellerId
  • └ orderId
  • String
  • 可选
  • 975749921337217359
  • orderId
  • └ buyerId
  • String
  • 可选
  • 3370215973
  • buyerId
  • └ preSaleOrder
  • Boolean
  • 可选
  • false
  • 是否预售订单
  • └ itemIds
  • Number []
  • 可选
  • 订单关联商品ID列表
  • └ buyer_open_uid
  • String
  • 可选
  • 1
  • 作为用户唯一标识替代buyerId

响应参数

名称 类型 示例值 描述
data Data data
  • options
  • Options
  • options
  • └ sync
  • Boolean
  • true
  • 是否同步
  • bizData
  • BizData
  • 业务参数
  • └ img
  • String
  • xxxx.jpg
  • 图形
  • └ icon
  • String
  • xxxx.jpg
  • 图标
  • └ isPass
  • Boolean
  • true
  • 是否通过
  • └ title
  • String
  • xxxx
  • 标题
  • └ content
  • String
  • xxxx
  • 内容
  • └ items
  • Number []
  • 商品ID列表
  • └ templateCode
  • String
  • bapp_check_order_card
  • 卡片模板
sucess Boolean true sucess
errorCode String xxx errorCode
errorMsg String xxxx errorMsg

请求示例


                                

响应示例

{
    "data":{
        "options":{
            "sync":true
        },
        "bizData":{
            "img":"xxxx.jpg",
            "icon":"xxxx.jpg",
            "isPass":true,
            "title":"xxxx",
            "content":"xxxx",
            "templateCode":"bapp_check_order_card"
        }
    },
    "sucess":true,
    "errorCode":"xxx",
    "errorMsg":"xxxx"
}

验签示例

{"sucess":"false","errorCode":"sign-check-failure","errorMsg":"Illegal request"}

错误码解释

错误码 错误描述 解决方案
isp.http-read-timeout
isp.http-connection-timeout
response-body-parse-error

API工具

FAQ

返回
顶部