stable本次发布有变化全部展示
来自 Shopee 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 purchase_order_Push
When there is a new purchase order, a push will be sent
§2 Overview
Overview
| Field | Value |
|---|---|
| Push code | 20 |
| Timeout (seconds) | 3 |
| Retry strategy (seconds) | 300, 1800, 10800 |
| Guaranteed delivery | No |
§3 Push parameters
Push parameters
| Name | Type | Required | Sample | Description |
|---|---|---|---|---|
| code | int32 | |||
| timestamp | timestamp | |||
| supplier_id | int32 | |||
| data | object[] | |||
| data.purchase_order_id | string | PO00001 | 采购单号; <path></path> | |
| data.purchase_order_status | string | PoStatusPendingSupplierConfirmation | 采购单据的状态枚举: PoStatusPendingSupplierConfirmation-待确认PoStatusPendingPurchaserConfirmation-待买手确认PoStatusPendingAsnCreation-待asn创建PoStatusPendingShipment-待发货PoStatusPartiallyInbound-部分入库 PoStatusInbound-入库完成 PoStatusCancelled-取消 PoStatusClosed-关闭 | |
| data.purchase_reason | string | FirstPurchase | 采购原因可分为两类,用于区分该采购单是首单还是常规补货单枚举如下:FirstPurchase-首次备货 Replenishment-补货tips:不传参数类型,默认返回全部 | |
| data.purchase_function_tag_list | string[] | ["JIT","Urgent","InTransitSellable"] | 采购单据的标签,采购单上可以有多个标签参数为枚举值,枚举映射如下:General-普通采购单JIT-准时化采购(just in time)的采购单 Urgent-加急的采购单InTransitSellable-在途可售的采购单tips:普通采购单没有标签 | |
| data.create_time | timestamp | 1234567890 | 采购单创建时间; <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
| Date | Change |
|---|---|
| 2024-03-27 | New Push |
