- 接口注意事项
- 开放平台:接口调用凭证
- 开放平台:客户信息
- 开放平台:企业会员
- 开放平台:商品
- 开放平台:商品分组
- 开放平台:管理企业标签
- 开放平台:编辑客户企业标签
- 开放平台:事件通知
- 开放平台:获客活动
- 开放平台:成员信息
- 开放平台:推客
获取商品推广二维码
POST
https://w.xiaoliebian.com/api/xiaoliebian-shipinhao/open/api/promoter/product/qr-code
请求参数
Header 参数
Authorization
string
认证令牌
示例值:
Bearer xxx
Body 参数application/json
参数
shopAppid
string
店铺appid
productId
string
商品id
sharerAppid
string
推客appid
示例
{
"shopAppid": "string",
"productId": "string",
"sharerAppid": "string"
}
示例代码
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://w.xiaoliebian.com/api/xiaoliebian-shipinhao/open/api/promoter/product/qr-code' \
--header 'Authorization: Bearer xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"shopAppid": "string",
"productId": "string",
"sharerAppid": "string"
}'
返回响应
🟢200成功
application/json
Body
二维码
success
boolean
成功标识
code
integer
错误编码
msg
string
错误信息
data
object (MapObject)
拓展数据
key
object (key)
二维码
value
string
返回对象
traceId
string
链路ID
默认值:
Span.current().getSpanContext().getTraceId()
示例
{
"success": false,
"code": 0,
"msg": "",
"data": {
"": {}
},
"value": "",
"traceId": ""
}
修改于 2025-04-27 08:20:45