- 开发指南
- 开发前必读
- 基本概念介绍
- 回调配置
- 企业微信账号ID安全性全面升级
- 代开发应用安全性升级
- ID转换接口
- unionid与external_userid的关联
- 获取服务商凭证POST
- 基础
- 连接微信
- 办公
- 智慧硬件
获取商品图册
POST
https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_product_album
企业内部开发服务端API
第三方应用或代开发自建应用调用需要企业授权客户联系下管理商品图册的权限
可获取企业内所有企业级的商品图册
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_product_album?access_token={{ACCESS_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_id" : "xxxxxxxxxx"
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "string",
"product": {
"product_id": "string",
"description": "string",
"price": 0,
"create_time": 0,
"product_sn": "string",
"attachments": [
{
"type": "string",
"image": {
"media_id": "string"
}
}
]
}
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{ACCESS_TOKEN}}
Body 参数application/json
product_id
string
必需
示例
返回响应
🟢200成功
application/json
Body
errcode
integer
返回码
errmsg
string
必需
product
object
商品详情
product_id
string
商品id
description
string