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

Open platform supports Push log and API log tool

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/changelogtopic/developertopic/platform-function-updates

资料正文

§1 Open platform supports Push log and API log tool

Dear Developer,

The open platform supports API Access Log and Push Log queries.

API Access Log: https://open.shopee.com/console/tools/api-access-log

  • You can query the API logs corresponding to your Live Partner id in the last 7 days, whether the request is successful or unsuccessful. Currently, you can query log data starting from September 20, 2022.
  • You can view the request parameters/response parameters/status codes and other information of the api you call.
  • Supports quick search by request id. You can accurately find the log by the request id that in the API response parameters.
  • Support keyword search, for example, you can enter the value of order_sn or error message to search.
  • Submit the ticket form quickly, click the Raise a Ticket button on the right side of the list, and the relevant log information will be automatically copied in the form.
  • View the API documentation quickly, click the View API detail button on the right side of the list, API documentation will be opened by new page.

Push log: https://open.shopee.com/console/tools/push-log

  • You can query the Push logs corresponding to your Live Partner id in the last 7 days, whether the push is successful or unsuccessful. Currently, you can query log data starting from September 20, 2022.

  • If messages that are not pushed successfully, we will prompt the reason in the Error Message. There are three situations when the push is not successful:

  • No response from developer, Error Message: Shopee has sent the push to your callback url, but we didn't get any response with 2xx code within the requested timeout seconds, please check your service.

  • Received a response with a code other than 2xx, Error Message: Shopee has sent the push to your callback url, but the response code we got from your callback url is not 2xx, please check your service.

  • Other reasons: Error Message: System error.

  1. Support multiple keyword searches, for example, you can enter the value of order_sn to search.

尊敬的开发者,

开放平台支持API Access Log 和Push Log 查询。

API Access Log入口: https://open.shopee.com/console/tools/api-access-log

  • 支持查询最近7天,您所拥有的Live Partner id对应的API请求日志,不管是请求成功还是请求失败。目前您最多能查询2022年9月20号开始的日志数据。
  • 您可以查看到接口调用时的请求参数/返回参数/状态码等信息。
  • 支持request id快速搜索,您可以通过Open API返回参数中的request id精准找到对应的日志。
  • 支持关键词搜索,例如您可以输入order_sn的值或者error进行搜索。
  • 快速提单,点击列表页右侧的Raise a Ticket 按钮,将自动复制相关日志信息,快速提单。
  • 快速查看接口文档,点击列表页右侧的View API detail按钮,即新增窗口打开对应的接口文档。

Push Log入口: https://open.shopee.com/console/tools/push-log

  • 我们支持查询最近7天您所拥有的Live Partner id 对应的Push日志,不管是推送成功还是推送失败。目前您最多能查询2022年9月20号开始的日志数据。

  • 对于未推送成功的消息,我们会在Error Message中提示原因,未推送成功包含三种情况:

  • 未收到开发者的响应,Error Message:Shopee has sent the push to your callback url, but we didn't get any response with 2xx code within the requested timeout seconds, please check your service.

  • 收到Code非2xx的响应,Error Message:Shopee has sent the push to your callback url, but the response code we got from your callback url is not 2xx, please check your service.

  • 其他原因:Error Message:System error.

  1. 支持多个关键词搜索,例如您可以输入order_sn的值进行搜索。
#