curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_product_album?access_token={{ACCESS_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"description":"世界上最好的商品",
"price":30000,
"product_sn":"xxxxxxxx",
"attachments":[
{
"type": "image",
"image": {
"media_id": "MEDIA_ID"
}
}
]
}'
{
"errcode": 0,
"errmsg": "string",
"product_id": "string"
}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通