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

[Important] Token Character Length Update & Open API and Push Mechanism Sunset

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 [Important] Token Character Length Update & Open API and Push Mechanism Sunset

[Important] Token Character Length Update & Open API and Push Mechanism Sunset

Dear Developer, Please note the following updates:

  1. For security reasons, we need to adjust the generation method of access_token and refresh_token, which will cause the character length of these two tokens to change. To avoid the impact of the character length update on your services, please change your storage type of access_token and refresh_token before 2024-09-30, if you use MySQL storage, please change to "text" type, and the solution for other databases are similar to MySQL. In addition, please complete this Acknowledge Survey before 2024-08-16 to confirm that you are aware of this update and required actions.

  2. Please note the following Open API, Push Mechanism, Request/Response Parameters that will be sunset soon. To avoid affecting your services, if you are still using them, please switch to using the new Open API, Push Mechanism, Request/Response Parameters before the corresponding sunset date.

  1. Please note the following Open API and Push Mechanism that will be sunset soon:
Sunset API/PushSunset DateNew API/Push
banned_item_push2024-09-30violation_item_push
v2.public.get_refresh_token_by_upgrade_code2024-09-30/ (As all existing authorized sellers have migrated from Open API v1.0 to Open API v2.0, this Open API is no longer supported.)
v2.account_health.shop_performance2024-09-30v2.account_health.get_shop_performance
v2.product.get_dts_limit2024-09-30v2.product.get_item_limit
v2.global_product.get_dts_limit2024-09-30v2.global_product.get_global_item_limit
v2.product.get_attributes2024-10-31v2.product.get_attribute_tree
v2.global_product.get_attributes2024-10-31v2.global_product.get_attribute_tree
  1. Please note the following Request/Response Parameters that will be sunset soon:
Related APILocationSunset ParamSunset DateNew Param
v2.shop.get_shop_infoResponseis_3pf2024-09-30shop_fulfillment_flag
v2.shop.get_shop_infoResponseis_cnsc shop_cbsc2024-09-30is_upgraded_cbsc merchant_id
v2.merchant.get_merchant_infoResponseis_cnsc2024-09-30is_upgraded_cbsc merchant_region
v2.merchant.get_shop_list_by_merchantResponseis_cnsc shop_is_cnsc2024-09-30Can get the shop detailed info by calling v2.shop.get_shop_info
v2.global_product.add_global_itemRequestnormal_stock2024-09-30seller_stock
v2.global_product.init_tier_variationRequestnormal_stock2024-09-30seller_stock
v2.global_product.add_global_modelRequestnormal_stock2024-09-30seller_stock
v2.global_product.update_stockRequestnormal_stock2024-09-30seller_stock
v2.product.add_itemRequestnormal_stock2024-09-30seller_stock
v2.product.add_itemResponsestock_info2024-09-30seller_stock
v2.product.get_item_base_infoResponsestock_info2024-09-30stock_info_v2
v2.product.get_item_promotionResponsereserved_stock_info2024-09-30promotion_stock_info_v2

3.Please note that the requirements for cross-border order customized waybill for CNSC orders have been updated:

  1. Please add the site abbreviation in the red box area shown in the picture below.

  2. Site abbreviations: MY, ID, TH, PH, SG, VN, BR, MX, CO, CL, TW. You may print according to the actual site of the order.

尊敬的开发者,

请留意以下变动:

  1. 出于安全需要,我们需要调整access_token与refresh_token的生成方式,这将导致access_token与refresh_token的字符长度发生改变。 为了避免access_token与refresh_token字符长度更新对您的服务造成影响,请您在2024-09-30之前更改您的access_token与refresh_token的存储类型,如果您使用MySQL存储,请更改为"text"类型,其他数据库的解决方案与MySQL类似。 另外,请在2024-08-16之前完成此Acknowledge Survey,以确认您已了解此更新以及需要采取的措施。

  2. 请注意,以下Open API, Push Mechanism, Request/Response Parameters即将下线,为了避免影响您的服务,若您仍然在使用,请在对应的下线日期之前切换对接新的Open API, Push Mechanism, Request/Response Parameters。

  1. 以下Open API, Push Mechanism, Request/Response Parameters即将下线:
Sunset API/PushSunset DateNew API/Push
banned_item_push2024-09-30violation_item_push
v2.public.get_refresh_token_by_upgrade_code2024-09-30/ (由于所有存量的授权卖家已完成从Open API v1.0切换至 Open API v2.0,因此不再支持该接口)
v2.account_health.shop_performance2024-09-30v2.account_health.get_shop_performance
v2.product.get_dts_limit2024-09-30v2.product.get_item_limit
v2.global_product.get_dts_limit2024-09-30v2.global_product.get_global_item_limit
v2.product.get_attributes2024-10-31v2.product.get_attribute_tree
v2.global_product.get_attributes2024-10-31v2.global_product.get_attribute_tree
  1. 以下Request/Response Parameters即将下线:
Related APILocationSunset ParamSunset DateNew Param
v2.shop.get_shop_infoResponseis_3pf2024-09-30shop_fulfillment_flag
v2.shop.get_shop_infoResponseis_cnsc shop_cbsc2024-09-30is_upgraded_cbsc merchant_id
v2.merchant.get_merchant_infoResponseis_cnsc2024-09-30is_upgraded_cbsc merchant_region
v2.merchant.get_shop_list_by_merchantResponseis_cnsc shop_is_cnsc2024-09-30可以调用 v2.shop.get_shop_info 获取Shop详细信息
v2.global_product.add_global_itemRequestnormal_stock2024-09-30seller_stock
v2.global_product.init_tier_variationRequestnormal_stock2024-09-30seller_stock
v2.global_product.add_global_modelRequestnormal_stock2024-09-30seller_stock
v2.global_product.update_stockRequestnormal_stock2024-09-30seller_stock
v2.product.add_itemRequestnormal_stock2024-09-30seller_stock
v2.product.add_itemResponsestock_info2024-09-30seller_stock
v2.product.get_item_base_infoResponsestock_info2024-09-30stock_info_v2
v2.product.get_item_promotionResponsereserved_stock_info2024-09-30promotion_stock_info_v2
  1. 请注意,CNSC跨境订单包裹自画面单要求更新:
  1. 在下图红框位置,增加站点缩写标识。

  2. 站点缩写:MY, ID, TH, PH, SG, VN ,BR, MX, CO, CL, TW,请根据订单实际所属站点进行打印。

#