编辑商品图册
POST
https://qyapi.weixin.qq.com/cgi-bin/externalcontact/update_product_album
企业内部开发服务端API
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/update_product_album?access_token={{ACCESS_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_id" : "xxxxxxxxxx",
"description":"世界上最好的商品",
"price":30000,
"product_sn":"xxxxxx",
"attachments":[
{
"type": "image",
"image": {
"media_id": "MEDIA_ID"
}
}
]
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok"
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{ACCESS_TOKEN}}
Body 参数application/json
返回响应
修改于 2022-01-14 04:25:42