快工助手跨境电商知识与商机助手

4 Brand New Chat APIs and an Improved v2.get.message API

Shopee 官方资料 · Shopee Open Platform 变更通知(Announcements) · 适合开发者

stable本次发布有变化全部展示

来自 Shopee 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
Shopee / profile.shopee.announcements
语言
en
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/shopeeaudience/developercategory/announcementtopic/apitopic/api-chattopic/changelogtopic/developertopic/openapi-updates

资料正文

§1 4 Brand New Chat APIs and an Improved v2.get.message API

Dear Developers,

We're excited to announce some updates on the Chat OpenAPI, aimed at enhancing sellers' and your experience:

  1. Shopee has added a new OpenAPI v2.sellerchat.manage_offer for accepting and rejecting offers, as well as v2.sellerchat.get_offer_detail for viewing detailed information about offers

  2. Shopee has also introduced two new OpenAPIs, v2.sellerchat.mute_conversation and v2.sellerchat.unmute_conversation, for mute and unmute message notifications for a conversation.

  3. In the "content" field of v2.sellerchat.get_message API, we have added an "image_url" field for getting "sticker" content and a "video_url" field for getting "video" content, both corresponding to the message_type of the message.

  4. v2.sellerchat.get_message API now supports batch message retrieval using the "message_id_list" request parameter.

For more details, you can refer to API document

Related APIs:

v2.sellerchat.get_message

v2.sellerchat.manage_offer (new)

v2.sellerchat.get_offer_detail (new)

v2.sellerchat.mute_conversation (new)

v2.sellerchat.unmute_conversation (new)

Effective Date: 2023/03/10

尊敬的开发者:

我们很高兴为您介绍聊聊 OpenAPI 新变动,希望能提升您的使用体验

  1. 虾皮新增 v2.sellerchat.manage_offer 接口用于接受和拒绝买家出价(offer),新增 v2.sellerchat.get_offer_detail 接口用于查看出价的详细信息

2.虾皮新增接口 v2.sellerchat.mute_conversation 和 v2.sellerchat.unmute_conversation 用于设置和取消会话的消息免打扰

  1. v2.sellerchat.get_message 接口的 "content" 字段内,对于"message_type" 为 sticker 新增 image_url 字段获取表情包内容,对于 "message_type" 为"video" 的消息新增 "video_url" 字段用于获取视频内容

  2. v2.sellerchat.get_message 支持请求参数 "message_id_list" 批量获取消息内容

如需了解更多详情请参考 API 文档

影响接口:

v2.sellerchat.get_message

v2.sellerchat.manage_offer (new)

v2.sellerchat.get_offer_detail (new)

v2.sellerchat.mute_conversation (new)

v2.sellerchat.unmute_conversation (new)

生效日期:2023/03/10

#