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

purchase_order_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/consignment-service-pushtopic/developertopic/push

资料正文

§1 purchase_order_Push

When there is a new purchase order, a push will be sent

#

§2 Overview

Overview

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

§3 Push parameters

Push parameters

NameTypeRequiredSampleDescription
codeint32
timestamptimestamp
supplier_idint32
dataobject[]
data.purchase_order_idstringPO00001采购单号; <path></path>
data.purchase_order_statusstringPoStatusPendingSupplierConfirmation采购单据的状态枚举: PoStatusPendingSupplierConfirmation-待确认PoStatusPendingPurchaserConfirmation-待买手确认PoStatusPendingAsnCreation-待asn创建PoStatusPendingShipment-待发货PoStatusPartiallyInbound-部分入库 PoStatusInbound-入库完成 PoStatusCancelled-取消 PoStatusClosed-关闭
data.purchase_reasonstringFirstPurchase采购原因可分为两类,用于区分该采购单是首单还是常规补货单枚举如下:FirstPurchase-首次备货 Replenishment-补货tips:不传参数类型,默认返回全部
data.purchase_function_tag_liststring[]["JIT","Urgent","InTransitSellable"]采购单据的标签,采购单上可以有多个标签参数为枚举值,枚举映射如下:General-普通采购单JIT-准时化采购(just in time)的采购单 Urgent-加急的采购单InTransitSellable-在途可售的采购单tips:普通采购单没有标签
data.create_timetimestamp1234567890采购单创建时间; <path></path>
#

§4 Sample

Sample

{
"purchase_order_id":"PO00001",
"purchase_order_status":"PoStatusPendingSupplierConfirmation",
"purchase_reason":"FirstPurchase",
"purchase_function_tag_list":["JIT","Urgent","InTransitSellable"],
"create_time":1234567890,
}
#

§5 Update log

Update log

DateChange
2024-03-27New Push
#