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

Significant Open API Updates

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-firstmiletopic/api-logisticstopic/api-ordertopic/api-paymenttopic/api-producttopic/changelogtopic/developertopic/openapi-updates

资料正文

§1 Significant Open API Updates

尊敬的开发者,请留意以下变动:

1.MX沙箱环境已经部署完成,Open Platform现已支持创建MX站点的测试账号进行测试,测试账号登陆后需要先将卖家和买家的地址均修改为可用的地址。

影响接口:ALL

上线时间:2021/12/10

2.为了优化用户体验,对于一些商品信息如category,attribute,logistic info等等,发生了失效、被平台侧删改或平台内部获取失败的情况,卖家仍然能通过api正常获取到库存价格等信息,v2.product.get_item_base_info新增返回warning与error的逻辑,逻辑如下

对应接口字段API未能获取返回Error/ Warning报错时是否返回字段Warning 例子
item_id / item_sku / shop_id / item_status / item_name / description/ image / weight / wholesales / dimension /size_chart / condition / promotion_idError
category_idWarning"warning": "Invalid category ID, please use UpdateItem api to refresh item's category "
attribute_listWarning"warning": "Invalid attribute ID, please use UpdateItem api to refresh item's attribute"
brandWarning"warning": "Invalid brand ID, please use UpdateItem api to refresh item's brand "
logistic_infoWarning"warning": "Logistics information of this item is changed, please use UpdateItem api to refresh item logistics info"
complaint_policy / tax_infoWarning
stock_info / price_infoError

影响接口:v2.product.get_item_base_info

上线时间:2021/12/16

3.原来西班牙(ES)返回币种(currency)字段EUES,原法国(FR)返回币种(currency)字段EUFR,现均改为EUR

影响接口:

v2.product.get_item_base_info --2021/12/16 上线

shopee.item.GetItemDetail --2021/12/16 上线

shopee.item.Add --2021/12/16 上线

shopee.item.UpdateItem --2021/12/16 上线

v2.order.get_order_detail --已上线

v2.payment.get_escrow_detail --已上线

shopee.orders.MyIncome --已上线

shopee.orders.GetEscrowDetails --已上线

shopee.orders.GetOrderDetails --已上线

4.CNCB新增头程寄送方式: Self-deliver (卖家自送)

目前头程寄送方式共三种:Pickup, Drop off, Self-deliver (卖家自送)

说明:调用OMS相关绑定接口(FirstMileCodeBindOrder/bind_first_mile_tracking_number)时,self deliver传shipping_method = 3同时fm_tn和first_mile_id字段传空

影响接口:

V1:

FirstMileCodeBindOrder

FirstMileUnbind

GetShopFirstMileChannel

V2

bind_first_mile_tracking_number

unbind_first_mile_tracking_number

get_channel_list

上线时间:2021/12/16

Dear Developer,

Please find below updates:

1.MX sandbox environment has been configured well, Open platform has supported the creation of the test account for MX region.Please pay attention to set an available address before after logging your shop and buyer account.

Related API:ALL

Effective Date on Live:2021/12/10

  1. In order to optimize the user experience, for some product information such as category, attribute, logistic info, etc., if it is invalid, deleted by the platform side, or the internal platform error, the seller can still obtain the stock and price information normally through the API. v2.product.get_item_base_info adds the logic to return warning and error, the logic is as follows:
API fieldReturn Error or Warning when api cannot be obtainedWhether to return the corresponding field when error or warning reportWarning example
item_id / item_sku / shop_id / item_status / item_name / description/ image / weight / wholesales / dimension /size_chart / condition / promotion_idErrorNo
category_idWarningNo"warning": "Invalid category ID, please use UpdateItem api to refresh item's category "
attribute_listWarningNo"warning": "Invalid attribute ID, please use UpdateItem api to refresh item's attribute"
brandWarningNo"warning": "Invalid brand ID, please use UpdateItem api to refresh item's brand "
logistic_infoWarningNo"warning": "Logistics information of this item is changed, please use UpdateItem api to refresh item logistics info"
complaint_policy / tax_infoWarningNo
stock_info / price_infoErrorNo

Related API:v2.product.get_item_base_info

Effective Date on Live:2021/12/16

  1. The original Spanish (ES) returned currency field as EUES, the original France (FR) return currency field as EUFR, now all changed to EUR.

Related API:

v2.product.get_item_base_info --2021/12/16 go live

shopee.item.GetItemDetail --2021/12/16 go live

shopee.item.Add --2021/12/16 go live

shopee.item.UpdateItem --2021/12/16 go live

v2.order.get_order_detail --on live

v2.payment.get_escrow_detail --on live

shopee.orders.MyIncome --on live

shopee.orders.GetEscrowDetails --on live

shopee.orders.GetOrderDetails --on live

4.CNCB first_mile new shipping method: Self-deliver

At present, there are three shipping methods: Pickup, Drop off, Self-deliver

Description: When calling bind interface (FirstMileCodeBindOrder/bind_first_mile_tracking_number), self deliver as shipping_method = 3 while fm_tn and first_mile_id fields are empty.

Impact Interface:

V1:

FirstMileCodeBindOrder

FirstMileUnbind

GetShopFirstMileChannel

V2:

bind_first_mile_tracking_number

unbind_first_mile_tracking_number

get_channel_list

Effective Date on Live:2021/12/16

#