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

Launch Instant Mart for Shopee Brazil Market

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-logisticstopic/api-ordertopic/api-producttopic/api-shoptopic/changelogtopic/developertopic/logistics-channel-awb-updatestopic/openapi-updates

资料正文

§1 Launch Instant Mart for Shopee Brazil Market

Dear Developers,

Please find below the OpenAPI updates released this time. These changes aim to enhance functionality, improve flexibility, and provide better integration support.

#

§2 1. Project Background

1. Project Background

Shopee Brazil officially launched the Instant Mart project, enabling sellers to operate with the Mart Shop and Outlet Shop structure, and introduced the Entrega Turbo (Channel ID: 90026) logistics channel to provide minute-level fulfillment for sellers capable of instant delivery.

Note: Other markets have already supported the Instant Mart model. ISVs can refer to the Instant Mart Integration Guide to understand the overall business model and API logic.

#

§3 2. Open API Updates Overview

2. Open API Updates Overview

To support this business model, the Open API has been updated as follows:

#

§4 2.1 Shop Information & Qualification Management

2.1 Shop Information & Qualification Management

Update TypeAPIAPI Function
New APIv2.shop.get_br_shop_onboarding_infoRetrieve KYC registration and qualification information for Outlet Shop
New APIv2.logistics.update_addressUpdate the address of a shop
#

§5 2.2 Shop Service Area Settings

2.2 Shop Service Area Settings

Update TypeAPIAPI Function
New APIv2.logistics.upload_serviceable_polygonUpload a KML file to set the delivery service area for Outlet Shop Note: Multiple Outlet Shops under the same Mart Shop cannot have overlapping service areas
New APIv2.logistics.check_polygon_update_statusQuery the processing status and validation results of the uploaded KML file
#

§6 2.3 Operating Hours & Holiday Settings

2.3 Operating Hours & Holiday Settings

Update TypeAPIAPI Function / Update Details
New APIv2.shop.get_shop_holiday_modeCheck whether a shop has enabled holiday mode
New APIv2.shop.set_shop_holiday_modeEnable or disable holiday mode for a shop
Existing API Updatesv2.logistics.get_operating_hour_restrictionsThe existing instant_operating_hour_restrictions response parameter supports Outlet Shops to get operating hour restrictions for instant delivery
Existing API Updatesv2.logistics.get_operating_hoursThe existing instant_operating_hour response parameter supports Outlet Shops to get the current instant delivery operating hours
Existing API Updatesv2.logistics.update_operating_hoursThe existing instant_operating_hour request parameter supports Outlet Shops to set instant delivery operating hours
#

§7 2.4 Order Fulfillment & Logistics Tracking

2.4 Order Fulfillment & Logistics Tracking

Update TypeAPIAPI Function
Existing API Updatesv2.order.get_order_detail1) Update existing shipping_carrier response parameter logic for 90021 and 90026 channels to include service_code, e.g., Entrega Turbo - M1020 2) Add geolocation response parameter including latitude and longitude for buyer address coordinates
Existing API Updatesv2.order.get_package_detailSame as above: Update existing shipping_carrier response parameter logic and add geolocation response parameters
Existing API Updatesv2.logistics.update_tracking_statusAdd failed_reason request parameter, required when updating to logistics_delivery_failed. Applicable values: - buyer_unreachable - buyer_unresponsive - no_delivery_location_consensus
Existing API Updatesv2.logistics.ship_order v2.logistics.update_tracking_statusUpdate the Llogistics Status flow for 90021 and 90026 channels: Before: After arranging shipment, the Logistics Status was directly changed to LOGISTICS_PICKUP_DONE. Subsequently, when calling v2.logistics.update_tracking_status with logistics_status = logistics_pickup_done the Logistics Status remained unchanged as LOGISTICS_PICKUP_DONE. After: After arranging shipment, the Logistics Status will first update to LOGISTICS_REQUEST_CREATED. Only after calling v2.logistics.update_tracking_status with logistics_status = logistics_pickup_done will the Logistics Status be updated to LOGISTICS_PICKUP_DONE. Note: Please use v2.order.get_package_detail for more accurate tracking of package fulfillment status changes.
#

§8 2.5 Product APIs Updates

2.5 Product APIs Updates

Update TypeAPIAPI Function
Existing API Updatesv2.product.add_itemAdd new request parameters purchase_limit_info for sellers to set the maximum and minimum purchase quantities of products. purchase_limit_info >>min_purchase_limit >>max_purchase_limit >>purchase_limit Note: Currently, the maximum purchase quantity in the Open API only supports per-order settings, which is setting the maximum quantity that each buyer can purchase in a single order.
Existing API Updatesv2.product.update_itemSame as above: add purchase_limit_info request parameter
Existing API Updatesv2.product.get_item_base_infoAdd new response parameters purchase_limit_info purchase_limit_info >>min_purchase_limit >>max_purchase_limit >>purchase_limit
#

§9 3. Quotation API Updates Overview

3. Quotation API Updates Overview

For the Entrega Turbo (Channel ID: 90026) logistics channel, Shopee will call the seller’s API at order placement to obtain shipping fee quotes and delivery times. Sellers are required to return quotation information according to the new protocol.

Note: The Quotation API workflow has been previously supported in Brazil. ISVs can refer to the Quotation API (Entrega Expressa) Developer Guide to understand the business model and API logic.

Request Parameters (New):

NameTypeRequiredDescriptionUpdate Type
channel_idintTrueLogistics Channel ID in ShopeeNew Param
destination_lat_longobjectTrueBuyer address coordinatesNew Param
>>latitudefloatTrueBuyer address latitudeNew Param
>>longitudefloatTrueBuyer address longitudeNew Param
itemsobject[]TrueList of itemsExisting Param
>>model_skustringFalseModel SKUNew Param

Response Parameters (New/Updated):

NameTypeDescriptionUpdate Type
channel_idint64Logistics Channel ID in ShopeeNew Param
destination_lat_longobjectBuyer address coordinatesNew Param
>>latitudefloatBuyer address latitudeNew Param
>>longitudefloatBuyer address longitudeNew Param
packagesobject[]List of packagesExisting Param
>>itemsobject[]List of itemsExisting Param
>>model_skustringModel SKUNew Param
>>category_idintItem Category IDNew Param
>>quotationsobject[]Shipping fee and delivery time infoExisting Param
>>handling_timetimestampOrder preparation time in minutesExisting Param, but format need update to minutes
>>shipping_timetimestampOrder delivery time in minutesExisting Param, but format need update to minutes
>>promise_timetimestampTotal preparation + delivery time in minutesExisting Param, but format need update to minutes
fallback_promise_timetimestampAverage total preparation + delivery time in minutes as fallbackNew Param

尊敬的开发者,

请查收本次的 OpenAPI 功能更新。这些改动旨在提升功能灵活性、优化使用体验,并为集成提供更好的支持。

#

§10 1. 项目背景

1. 项目背景

Shopee 巴西市场正式推出 Instant Mart 项目,支持卖家建立 Mart Shop 与 Outlet Shop 结构的运营模式,并新增 Entrega Turbo (Channel ID: 90026) 物流渠道,为具备即时配送能力的卖家提供分钟级履约支持。

补充:其他地区已支持 Instant Mart 模式,可参考Instant Mart Integration Guide,了解整体的业务模式与接口逻辑。

#

§11 2. Open API 更新概览

2. Open API 更新概览

为支持该业务模式,现对 Open API 进行以下更新:

#

§12 2.1 店铺信息与资质管理

2.1 店铺信息与资质管理

更新类型接口接口功能
新增接口v2.shop.get_br_shop_onboarding_info获取 Outlet Shop 的 KYC 注册与资质信息
新增接口v2.logistics.update_addres更新店铺的地址信息
#

§13 2.2 店铺服务区域设置

2.2 店铺服务区域设置

更新类型接口接口功能
新增接口v2.logistics.upload_serviceable_polygon上传 KML 文件以设置 Outlet Shop 的配送服务区域 注:同一 Mart Shop 下的多个 Outlet Shop 不允许出现服务区域重叠
新增接口v2.logistics.check_polygon_update_status查询 KML 文件处理状态与校验结果
#

§14 2.3 运营时间与假期设置

2.3 运营时间与假期设置

更新类型接口接口功能 / 更新内容
新增接口v2.shop.get_shop_holiday_mode查询店铺是否开启假期模式
新增接口v2.shop.set_shop_holiday_mode设置店铺的假期模式开启/关闭状态
更新接口v2.logistics.get_operating_hour_restrictions已有的 instant_operating_hour_restrictions 响应参数,支持 Outlet Shop 获取即时配送的运营时间限制
更新接口v2.logistics.get_operating_hours已有的 instant_operating_hour 响应参数,支持 Outlet Shop 获取店铺当前设置的即时配送运营时间
更新接口v2.logistics.update_operating_hours已有的 instant_operating_hour 请求参数,支持 Outlet Shop 设置即时配送的运营时间
#

§15 2.4 订单履约与物流追踪

2.4 订单履约与物流追踪

更新类型接口更新内容
更新接口v2.order.get_order_detail1) 更新已有的 shipping_carrier 响应参数逻辑,对于 90021 和 90026 渠道包含 service_code,例如Entrega Turbo - M1020 2) 新增 geolocation 响应参数,包括 latitude 与 longitude,用于返回买家地址的地理坐标
更新接口v2.order.get_package_detail同上,更新已有的 shipping_carrier 响应参数逻辑,以及新增 geolocation 响应参数
更新接口v2.logistics.update_tracking_status新增 failed_reason 请求参数,用于配送失败时填写原因,更新为 logistics_delivery_failed 时必填,可选值如下: - buyer_unreachable - buyer_unresponsive - no_delivery_location_consensus
更新接口v2.logistics.ship_order v2.logistics.update_tracking_status针对 90021 和 90026 渠道,更新 Logistics Status 状态机: 调整前:包裹在安排发货后,Logistics Status 直接变为 LOGISTICS_PICKUP_DONE,随后调用 v2.logistics.update_tracking_status 并传入 logistics_status = logistics_pickup_done 时,Logistics Status 将保持 LOGISTICS_PICKUP_DONE 不变。 调整后:包裹在安排发货后,Logistics Status 先变为 LOGISTICS_REQUEST_CREATED,随后调用 v2.logistics.update_tracking_status 并传入 logistics_status = logistics_pickup_done 时,Logistics Status 才会更新为 LOGISTICS_PICKUP_DONE。 注:请使用 v2.order.get_package_detail 以更准确地追踪包裹履约状态变化。
#

§16 2.5 商品接口更新

2.5 商品接口更新

更新类型接口更新内容
更新接口v2.product.add_item新增 purchase_limit_info 请求参数,用于卖家设置商品的最大和最小购买量。 purchase_limit_info >>min_purchase_limit >>max_purchase_limit >>purchase_limit 注:最大购买量在 Open API 目前仅支持依订单-即设置每个买家在每一笔订单中最多可购买的数量。
更新接口v2.product.update_item同上,新增 purchase_limit_info 请求参数
更新接口v2.product.get_item_base_info新增 purchase_limit_info 响应参数 purchase_limit_info >>min_purchase_limit >>max_purchase_limit >>purchase_limit
#

§17 3. Quotation API 更新概览

3. Quotation API 更新概览

针对 Entrega Turbo (Channel ID: 90026) 物流渠道,Shopee 将在买家下单时回调卖家接口以获取即时配送运费与时效,卖家需按新协议返回相关报价信息。

补充说明:巴西地区此前已支持 Quotation API 流程,可参考Quotation API (Entrega Expressa) Developer Guide,了解整体的业务模式与接口逻辑。

请求参数 (新增):

字段类型是否必填说明更新类型
channel_idintTrueShopee 物流渠道 ID新增参数
shop_idintTrue店铺 ID新增参数
destination_lat_longobjectTrue买家地址的地理坐标新增参数
>>latitudefloatTrue买家地址纬度新增参数
>>longitudefloatTrue买家地址经度新增参数
itemsobject[]True商品列表已有参数
>>model_skustringFalse商品变体 SKU新增参数

响应参数 (新增/变更):

字段类型说明更新类型
channel_idint64Shopee 物流渠道 ID新增参数
destination_lat_longobject买家地址的地理坐标新增参数
>>latitudefloat买家地址纬度新增参数
>>longitudefloat买家地址经度新增参数
packagesobject[]包裹列表已有参数
>>itemsobject[]商品列表已有参数
>>model_skustring商品变体 SKU新增参数
>>category_idint商品类目 ID新增参数
>>quotationsobject[]配送运费与时效信息已有参数
>>handling_timetimestamp订单准备时长,单位为分钟已有参数,但格式需更新为分钟
>>shipping_timetimestamp订单准备时长,单位为分钟已有参数,但格式需更新为分钟
>>promise_timetimestamp订单准备与配送总时长 (handling_time + shipping_time),单位为分钟已有参数,但格式需更新为分钟
fallback_promise_timetimestamp平均的订单准备与配送总时长,单位为分钟,作为备用值新增参数
#