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

package_info_push

Shopee 官方资料 · Shopee Open Platform 推送机制(Push Mechanism) · 适合开发者

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

来自 Shopee 官方资料快照 ·

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

资料正文

§1 package_info_push

Get notified immediately on package information updates, including Ship By Date and Logistics Channel changes, and Return Code generation for Return To Seller scenarios (Return Code only applies to packages under the SPX Instant & Sameday channel in ID region), so you can take the necessary steps in time.

#

§2 Overview

Overview

FieldValue
Push code47
Timeout (seconds)3
Retry strategy (seconds)300, 1800, 10800
Guaranteed deliveryNo
#

§3 Push parameters

Push parameters

NameTypeRequiredSampleDescription
shop_idint64220688102Shopee's unique identifier for a shop.
codeint3247Shopee's unique identifier for a push notification.
timestamptimestamp1764569832Timestamp that indicates the message was sent.
dataobject
data.order_snstring2512017TFPB0HFShopee's unique identifier for an order.
data.package_numberstringOFG218268963204539Shopee's unique identifier for the package under an order.
data.changed_fieldsstring[]["ship_by_date"]Returns value: ship_by_date, logistics_channel_id, or return_code, depending on which field has been updated. Both values will be returned if both fields have been updated.
data.oldobjectPrevious Ship By Date and logistics channel assigned to order.
data.old.logistics_channel_idint6470124Shopee's unique identifier for the previous logistics channel assigned to the order.
data.old.ship_by_datetimestamp1764746165Previous Ship By Date assigned to the order.
data.old.return_codestring""The previous Return Code of the package.; Note: Since return_code is generated only once and will not change, this field will always be empty when return_code is pushed.
data.newobjectNew Ship By Date and logistics channel assigned to order.
data.new.logistics_channel_idint6470124Shopee's unique identifier for the new logistics channel assigned to the order.
data.new.ship_by_datetimestamp1764573365New Ship By Date assigned to the order.
data.new.return_codestring1234The OTP generated after the package enters the RTS (Return to Seller) process. Sellers need to provide this OTP to the driver to complete the return confirmation.; Note: This field only applies to packages under the SPX Instant& Sameday channel in ID region.
data.update_timetimestamp1764569831Timestamp that indicates the last time that there was a change in value of ship_by_date or logistics_channel_id.
#

§4 Sample

Sample

{
    "data": {
        "changed_fields": [
            "ship_by_date"
        ],
        "old": {
            "logistics_channel_id": 70124,
            "ship_by_date": 1764573365
        },
        "new": {
            "logistics_channel_id": 70124,
            "ship_by_date": 1764746165
        },
        "order_sn": "2512017TFPB0HF",
        "package_number": "OFG218268963204539",
        "update_time": 1764569831
    },
    "shop_id": 220688102,
    "code": 47,
    "timestamp": 1764569832
}
#

§5 Update log

Update log

DateChange
2026-04-24Support return_code field generation push notification
2025-12-18New Push
#