新增一般賣場提案 #
取得新增一般賣場提案單 #
取得已建立的 新增一般賣場提案單
。
Endpoint URL: https://tw.supplier.yahoo.com/api/spa/v1/proposals/{id}
HTTP Method: GET
- 若因分類變動導致無法以
proposal.{product|listing}.catItemId
導回完整分類路徑, 則proposal.{product|listing}.{zoneId|zoneName|subStationId|subStationName|catId|catName|catItemId|catItemName}
將不再回傳。- 若
proposal.product.subStationId
與proposal.subStationId
不一致,表示目前 product 的子類已不屬於提案當下的子站,需請供應商重新選擇分類。- 編輯或複製提案時,使用者可先記住原本的
proposal.product.catItemId
,若新選擇的catItemId
仍為同一個,則原本填寫的proposal.product.{models|attributes}
可繼續沿用。
Request Parameters #
id #
提案單號。
資料型態: Integer
必填: 是
fields #
於取得的同時要求過濾回傳欄位,newListing 目前支援的欄位包括:
-product.copy
過濾欄位 product.copy 中的資訊
資料型態: String
必填: 否
預設值: -product.copy
欄位說明: 若需回傳 product.copy 的資訊,請填寫 fields=
於 Request parameter
Response Syntax #
{
"applicant": string,
"contactWindow": string,
"createdTs": string,
"creator": string,
"executeStatus": string,
"expiredTs": string,
"id": number,
"listing": {
"applyLowGpm": boolean,
"catId": string,
"catItemId": string,
"catItemName": string,
"catName": string,
"cvsPurchaseQtyLimit": number,
"deliveryType": string,
"featureTitle": string,
"isDisplay": boolean,
"offShelvedTs": string,
"onShelvedTs": string,
"price": string,
"purchaseQtyLimit": number,
"seoUrl": string,
"subStationId": string,
"subStationName": string,
"zoneId": string,
"zoneName": string
},
"modifiedTimes": number,
"modifiedTs": string,
"modifier": string,
"note": string,
"product": {
"eVoucherAttributes": [
{
"dataType": "string",
"name": "string",
"value": "string"
}
],
"eVoucherType": "string",
"attributeDisplayMode": string,
"attributes": [
{
"name": string,
"values": [
string
]
}
],
"brand": string,
"brandId": string,
"brandName": string,
"catId": string,
"catItemId": string,
"catItemName": string,
"catName": string,
"contentRating": string,
"copy": string,
"cost": string,
"height": number,
"isExpiringItem": boolean,
"isInstallRequired": boolean,
"isLargeVolume": boolean,
"isLargeVolumnProductGift": boolean,
"isNeedRecycle": boolean,
"isOutrightPurchase": boolean,
"length": string,
"minPackingCount": string,
"model": string,
"models": [
{
"displayName": string,
"images": [
{
"height": number,
"order": number,
"url": string,
"width": number
}
],
"items": [
{
"barcode": string,
"displayName": string,
"partNo": string,
"spec": {
"name": string,
"values": [
string
]
},
"stock": number,
"warehouseBarcode": string,
"warehouseProductName": string,
},
{
"displayName": string,
"partNo": "5567",
"spec": {
"name": string,
"values": [
string,
]
},
"stock": number,
"warehouseProductName": string,
}
],
"spec": {
"name": string,
"values": [
string
]
},
"videos": [
{
"order": number,
"url": string,
}
]
}
],
"msrp": string,
"name": string,
"partNo": string,
"preserveDays": number,
"safeStockQty": number,
"shareMediaBetweenModels": boolean,
"shipType": {
"id": number,
"model": number,
"name": string
},
"shortDescription": [
string,
string
],
"specs": [
{
"level": number,
"name": string
},
{
"level": number,
"name": string
}
],
"struDataAttrClusterId": string,
"struDataAttrClusterName": string,
"subStationId": string,
"subStationName": string,
"warranty": {
"description": string,
"handler": string,
"period": string,
"scope": string,
"productStatus": string
},
"weight": number,
"width": number,
"zoneId": string,
"zoneName": string
},
"reviewStatus": string,
"subStationId": string,
"subStationName": string,
"supplierId": number,
"supplierName": string,
"type": string,
}
Response Elements #
若操作成功,API 會回傳 HTTP 200 response,並以 JSON 格式回傳 Proposal 物件。
id #
提案編號。
資料型態: Integer
applicant #
提案人。
資料型態: String
contactWindow #
提案對象。
資料型態: String
createdTs #
建檔時間。
資料型態: String
格式: ISO-8601
creator #
建檔者。
資料型態: String
executeStatus #
執行狀態。
資料型態: String
有效值: 詳見 執行狀態
expiredTs #
提案有效時間。
資料型態: String
格式: ISO-8601
modifiedTimes #
更新次數。
資料型態: Integer
modifiedTs #
更新時間。
資料型態: String
格式: ISO-8601
modifier #
更新者。
資料型態: String
note #
備註。
資料型態: String
reviewStatus #
審核狀態。
資料型態: String
有效值: 詳見 審核狀態
subStationId #
提案當下的提案站別 ID。
資料型態: String
subStationName #
提案當下的提案子站名稱。
資料型態: String
supplierId #
供應商編號。
資料型態: Integer
supplierName #
供應商名稱。
資料型態: String
type #
提案單類型。
資料型態: String
listing #
賣場資訊。
資料型態: ProposalListing
欄位說明
欄位名稱
資料型態
說明
applyLowGpm
Boolean
申請低毛利率賣場,預設: false
catId
String
賣場目前的分類父類 ID
catItemId
String
賣場目前的分類子類 ID
catItemName
String
賣場目前的分類子類名稱
catName
String
賣場目前的分類父類名稱
cvsPurchaseQtyLimit
Integer
超商取貨限購數量,預設: 1
deliveryType
String
交貨期限
featureTitle
String
特色標題
isDisplay
Boolean
賣場是否顯示,預設: true
offShelvedTs
String
結束時間,預設為
開始時間 +365 天
onShelvedTs
String
開始時間,預設現在時間,不可大於結束時間
price
String
購物中心售價,到小數點兩位
purchaseQtyLimit
Integer
限購數量,預設: 12
seoUrl
String
賣場網址
subStationId
String
賣場目前的分類子站 ID
subStationName
String
賣場目前的分類子站名稱
zoneId
String
賣場目前的分類區 ID
zoneName
String
賣場目前的分類區名稱
swCode
String
隱藏賣場 SW code
isThresholdFreebie
Boolean
是否為滿額贈贈品賣場,預設: false
product #
商品資訊。
資料型態: ProposalProduct
欄位說明
欄位名稱
資料型態
欄位說明
attributeDisplayMode
String
商品規格顯示方式,預設: table
attributes
Attribute[]
商品規格表
brand
String
ESD 專用品牌
brandId
String
品牌 ID
brandName
String
品牌名稱
catId
String
商品目前的分類父類 ID
catItemId
String
商品目前的分類子類 ID
catItemName
String
商品目前的分類子類名稱
catName
String
商品目前的分類父類名稱
contentRating
String
內容級別
copy
String
商品詳情 (文案),HTML content
cost
String
成本(含稅+運費)
height
Integer
包裝完成後的商品高度,單位為 cm
isExpiringItem
Boolean
是否為即期品,預設: false
isInstallRequired
Boolean
是否需要安裝,預設: false
isLargeVolume
Boolean
是否為大型商品,預設: false
isLargeVolumnProductGift
Boolean
是否為大型商品附屬贈品 ,預設: false
isNeedRecycle
Boolean
是否屬於廢四機,預設: false
isOutrightPurchase
Boolean
是否為買斷商品,預設: false
length
Integer
包裝完成後的商品長度,單位為 cm
minPackingCount
String
最小包裝數,預設: 1
model
String
商品型號
models
ProposalModel[]
商品型號(屬性)
msrp
String
廠商建議價
name
String
商品名稱
partNo
String
主件商品供應商商品料號
preserveDays
Integer
商品保存期限,單位為天
safeStockQty
Integer
安全庫存量,預設: 1
shareMediaBetweenModels
Boolean
是否共用同一組商品圖/影片,預設: false
shipType
ShipType
配送方式
shortDescription
String
賣場簡短說明
specs
ProposalProductSpec[]
商品屬性
struDataAttrClusterId
String
結構化資料屬性集 ID
struDataAttrClusterName
String
結構化資料屬性集名稱
subStationId
String
商品目前的分類子站 ID
subStationName
String
商品目前的分類子站名稱
warranty
ProductWarranty
商品保證
weight
Integer
包裝完成後的商品重量,單位為 g
width
Integer
包裝完成後的商品寬度,單位為 cm
zoneId
String
商品目前的分類區 ID
zoneName
String
商品目前的分類區名稱
gameContents
String[]
遊戲情節內容
taxable
Boolean
商品是否應稅,預設: true
eVoucherAttributes
VoucherAttribute[]
電子票券資訊
eVoucherType
String
電子票券類型,可選擇類型
Errors #
Bad Request #
輸入的參數不符合 API 定義的 Pattern。
HTTP Status Code: 400
Error Code | Description |
---|---|
Invalid input | |
40000001 | Wrong timestamp format |
40000005 | Contains illegal character(s) |
Unauthorized #
身分認證不通過,請檢查您的 Cookie
或 wssid
。
HTTP Status Code: 401
Error Code | Description |
---|---|
40100001 | Missing or bad authentication |
40100002 | Invalid cookie |
40100003 | Missing or bad authentication |
40100004 | Check wssid failed |
40100006 | Cookie has expired |
Forbidden #
身分認證不通過,請確認您擁有檢示提案單的權限。
HTTP Status Code: 403
Error Code | Description |
---|---|
40304001 | No permission |
Not Found #
找不到提案單內容。
HTTP Status Code: 404
Error Code | Description |
---|---|
40409000 | Proposal not found |
Gone #
請求的提案單類別不可再使用。
HTTP Status Code: 410
Error Code | Description |
---|---|
41009001 | The category item no longer exists |
Internal Server Error #
API 端發生錯誤,若持續發生請洽您的業務窗口。
Examples #
取得提案單號為 76527 的新增一般賣場提案單
GET /api/spa/v1/proposal/76527?fields= HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
因為 fields 設為空,故 product 中會有 copy 的資料。
{
"applicant": "申請人",
"appliedTs": "2019-03-05T15:37:56+08:00",
"contactWindow": "contact-windows-id",
"createdTs": "2019-03-05T15:34:58+08:00",
"creator": "creator-Id",
"executeStatus": "idle",
"expiredTs": "2019-03-20T00:00:00+08:00",
"id": 76527,
"listing": {
"applyLowGpm": false,
"catId": "cat430",
"catItemId": "catItem10070",
"catItemName": "新迅馳Sonoma",
"catName": "加值功能NB推薦",
"cvsPurchaseQtyLimit": 1,
"deliveryType": "appointment",
"featureTitle": "我是特色標題",
"isDisplay": true,
"offShelvedTs": "2020-03-04T15:37:56+08:00",
"onShelvedTs": "2019-03-05T15:37:56+08:00",
"price": "100.00",
"purchaseQtyLimit": 12,
"seoUrl": "我是商品名稱",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test",
"zoneId": "z3",
"zoneName": "電腦 / 週邊 / 軟體"
},
"modifiedTimes": 2,
"modifiedTs": "2019-03-05T15:37:56+08:00",
"modifier": "mwu02",
"note": "我是備註",
"product": {
"attributeDisplayMode": "table",
"attributes": [
{
"name": "中央處理器品牌",
"values": [
"Intel"
]
},
{
"name": "中央處理器型號",
"values": [
"G870"
]
},
{
"name": "型號",
"values": [
"Trey-Super-PC"
]
},
{
"name": "晶片組",
"values": [
"B75"
]
},
{
"name": "硬碟機容量",
"values": [
"250GB"
]
},
{
"name": "硬碟機轉速",
"values": [
"5400轉"
]
},
{
"name": "固態硬碟",
"values": [
"無"
]
},
{
"name": "光碟機",
"values": [
"無"
]
},
{
"name": "作業系統",
"values": [
"無"
]
},
{
"name": "記憶體容量(GB)",
"values": [
"2G"
]
},
{
"name": "記憶體類型",
"values": [
"DDR2"
]
},
{
"name": "記憶體工作頻率(MHz)",
"values": [
"333"
]
},
{
"name": "記憶體插槽數",
"values": [
"1"
]
},
{
"name": "記憶體最高支援容量",
"values": [
"2G以下"
]
},
{
"name": "顯示卡類型",
"values": [
"獨立顯卡"
]
},
{
"name": "螢幕尺吋",
"values": [
"無"
]
},
{
"name": "觸控",
"values": [
"無"
]
},
{
"name": "顯示晶片型號",
"values": [
"3dfx-voodoo-1"
]
},
{
"name": "顯示卡記憶體類型",
"values": [
"高速記憶體"
]
},
{
"name": "顯示卡記憶體容量(GB)",
"values": [
"12MB"
]
},
{
"name": "尺寸(長x寬x高)(mm)",
"values": [
"2400x900x30000"
]
},
{
"name": "區域網路",
"values": [
"64kbps"
]
},
{
"name": "原廠保固",
"values": [
"none"
]
},
{
"name": "音效",
"values": [
"mono"
]
},
{
"name": "前面板連接埠",
"values": [
"極致簡約沒有任何連接埠"
]
},
{
"name": "後面板連接埠",
"values": [
"只有電源插孔"
]
},
{
"name": "後面板視訊埠",
"values": [
"HDMI"
]
},
{
"name": "電源供應器瓦數(W)",
"values": [
"150kW"
]
},
{
"name": "重量(kg)",
"values": [
"27t"
]
}
],
"brand": "我是品牌",
"brandId": "41166484",
"brandName": "2M2",
"catId": "cat430",
"catItemId": "catItem10070",
"catItemName": "新迅馳Sonoma",
"catName": "加值功能NB推薦",
"contentRating": "G",
"copy": "<p><strong>test</strong></p><p><span style=\"text-decoration: underline; color: #ff0000;\"><strong>123</strong></span></p>",
"cost": "50.00",
"height": 77,
"isExpiringItem": true,
"isInstallRequired": true,
"isLargeVolumnProductGift": true,
"isNeedRecycle": true,
"isOutrightPurchase": true,
"length": 55,
"minPackingCount": 10,
"model": "我是商品型號",
"models": [
{
"displayName": "極致簡約Dell2019",
"images": [
{
"height": 1000,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/kJ4Ky2.DoD4nLYOGFTqXTA--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/ba0b8bf005bab4e7cc8821afea217e342a1dfca3.png.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/2HOPhPCqFkyRlFFLB8CfPA--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/ba0b8bf005bab4e7cc8821afea217e342a1dfca3.png.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/E1bLiYjDz.y2HapecwWuuA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/ba0b8bf005bab4e7cc8821afea217e342a1dfca3.png.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/hXTTZZzlR_4dZQzRes8jvA--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/ba0b8bf005bab4e7cc8821afea217e342a1dfca3.png.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/2sA9R61mn7u247ThP5oLZg--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/ba0b8bf005bab4e7cc8821afea217e342a1dfca3.png.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/Sbb2nlG7hogM7ZvZWLjeSg--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/3b0bc05cf3c5af7cd17b878edce05eab7d0b97d0.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/VoPZQZRgpO0r9QA14r.J3w--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/3b0bc05cf3c5af7cd17b878edce05eab7d0b97d0.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/TV3WuVDlY2mALfaRSG4gJg--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/3b0bc05cf3c5af7cd17b878edce05eab7d0b97d0.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/gMiKlCD0nMaVE7OWhXaC_w--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/3b0bc05cf3c5af7cd17b878edce05eab7d0b97d0.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/Z8J5QCrRyGe3vr.ZCTpS1g--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/3b0bc05cf3c5af7cd17b878edce05eab7d0b97d0.jpg.cf.jpg",
"width": 80
}
],
"items": [
{
"barcode": "725272730706",
"displayName": "卡其色",
"partNo": "5566",
"spec": {
"name": "顏色",
"values": [
"卡其"
]
},
"stock": 0,
"warehouseBarcode": "9785109946480"
},
{
"displayName": "灰色",
"partNo": "5567",
"spec": {
"name": "顏色",
"values": [
"灰色系"
]
},
"stock": 0
}
],
"spec": {
"name": "品牌",
"values": [
"Dell戴爾"
]
},
"videos": [
{
"order": 1,
"url": "https://s.yimg.com/bp/Files/374d9974ab2cbce382e42724fede7aa07313cae6.qt"
}
]
},
{
"displayName": "低調奢華hp讚",
"images": [
{
"height": 1000,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/uya1s18B8jL0Dg7yN5C3xg--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/945b996a1bada1ccb966b8b0215875447024324c.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/1MoK56czcApqZcNIfPNCLw--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/945b996a1bada1ccb966b8b0215875447024324c.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/cKy9xhin4MKGqFIKEHp86Q--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/945b996a1bada1ccb966b8b0215875447024324c.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/7olgICbNuYEbDxp1GD8aIw--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/945b996a1bada1ccb966b8b0215875447024324c.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/4kce4XnvtfQsa4mtwLWJHg--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/945b996a1bada1ccb966b8b0215875447024324c.jpg.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/rn0UVm7EbURJfMwdhTAZzw--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/mm/Files/404603c25b19d075109b44255707b89d49b96347_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/oF0TcLQYzmhyasPmptwMJg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/mm/Files/404603c25b19d075109b44255707b89d49b96347_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/.khlxRR.bvyubEJo2KztkQ--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/mm/Files/404603c25b19d075109b44255707b89d49b96347_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/F0BjdKuJZNCesGr6K9ySMA--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/mm/Files/404603c25b19d075109b44255707b89d49b96347_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/sPuDvt1rQAiW6SnQEH.WsQ--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/mm/Files/404603c25b19d075109b44255707b89d49b96347_1000x1000.jpg.cf.jpg",
"width": 80
}
],
"items": [
{
"displayName": "卡其色",
"partNo": "5568",
"spec": {
"name": "顏色",
"values": [
"卡其"
]
},
"stock": 0
},
{
"displayName": "灰色",
"partNo": "5569",
"spec": {
"name": "顏色",
"values": [
"灰色系"
]
},
"stock": 0
}
],
"spec": {
"name": "品牌",
"values": [
"hp惠普"
]
},
"videos": [
{
"order": 1,
"url": "https://s.yimg.com/bp/Files/374d9974ab2cbce382e42724fede7aa07313cae6.qt"
}
]
}
],
"msrp": "100.00",
"name": "(即期品)我是商品名稱",
"preserveDays": 56,
"safeStockQty": 1,
"shareMediaBetweenModels": false,
"shipType": {
"id": 61,
"name": "Express24HR"
},
"shortDescription": [
"我是簡短說明",
"我是簡短說明2"
],
"specs": [
{
"level": 1,
"name": "品牌"
},
{
"level": 2,
"name": "顏色"
}
],
"struDataAttrClusterId": "000003326689",
"struDataAttrClusterName": "品牌桌上型電腦",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test",
"warranty": {
"description": "保固說明文字",
"handler": "official",
"period": "一個月",
"scope": "新品瑕疵",
"productStatus": "new"
},
"weight": 88,
"width": 66,
"zoneId": "z3",
"zoneName": "電腦 / 週邊 / 軟體"
},
"reviewStatus": "pendingReview",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}
取得提案單號為 767117 的新增電子票券賣場提案單
GET /api/spa/v1/proposal/767117?fields= HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"applicant": "申請人",
"applicantRole": "supplier",
"contactWindow": "jennylu11",
"createdTs": "2023-02-02T08:27:56Z",
"creator": "creator-Id",
"executeStatus": "idle",
"expiredTs": "2023-02-11T16:00:00Z",
"id": 767117,
"listing": {
"applyLowGpm": false,
"catId": "cat6052",
"catItemId": "catItem49297",
"catItemName": "測試子類",
"catName": "測試父類,請勿購買",
"cvsPurchaseQtyLimit": 1,
"deliveryType": "normal",
"discount": {
"activity": [
"actPromo",
"redeemFdbk",
"redGreen"
],
"site": [
"shopping",
"enterprise",
"app"
],
"targetMember": [
"general",
"enterprise",
"specific"
],
"tools": [
"redeemPoint",
"welfarePoint",
"rewardPoint",
"coupon"
]
},
"displayOrder": 1000,
"featureTitle": "test2023",
"isDisplay": true,
"isThresholdFreebie": false,
"offShelvedTs": "2024-01-09T06:51:59Z",
"onShelvedTs": "2023-01-09T06:51:00Z",
"price": "500.00",
"purchaseQtyLimit": 12,
"seoUrl": "test2023",
"shareMediaBetweenModels": false,
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test2",
"syncProductImages": true,
"zoneId": "z3",
"zoneName": "電腦 / 週邊 / 軟體"
},
"modifiedTimes": 1,
"modifiedTs": "2023-02-02T08:27:56Z",
"modifier": "creator-Id",
"product": {
"eVoucherAttributes": [
{
"dataType": "integer",
"name": "OrderNumber",
"value": "1"
},
{
"dataType": "datetime",
"name": "ProductCode",
"value": "2022-12-19T11:17:00Z"
},
{
"dataType": "string",
"name": "MerchantCode",
"value": "文字測試"
}
],
"eVoucherType": "ticket",
"attributeDisplayMode": "list",
"attributes": [
{
"name": "品牌",
"values": [
"樂扣樂扣"
]
},
{
"name": "用途",
"values": [
"收納箱"
]
},
{
"name": "材質",
"values": [
"塑料"
]
},
{
"name": "防潮",
"values": [
"有"
]
},
{
"name": "收納方式",
"values": [
"裝箱"
]
},
{
"name": "適用地點",
"values": [
"廚房"
]
},
{
"name": "長(公分)",
"values": [
"10"
]
},
{
"name": "寬(公分)",
"values": [
"10"
]
},
{
"name": "高(公分)",
"values": [
"10"
]
},
{
"name": "重量",
"values": [
"10"
]
}
],
"autoReplenishment": true,
"brandId": "41166484",
"brandName": "2M2",
"catId": "cat6052",
"catItemId": "catItem49297",
"catItemName": "測試子類",
"catName": "測試父類,請勿購買",
"contentRating": "None",
"copy": "<p>10</p>",
"cost": "100.00",
"isExpiringItem": false,
"isInstallRequired": false,
"isLargeVolumnProductGift": false,
"isNeedRecycle": false,
"isOutrightPurchase": false,
"minPackingCount": 1,
"models": [
{
"images": [
{
"height": 1000,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/Q5jKWlqx3MCYNv3INuLpig--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/22e7359a4bd872db3e7c32d5e1ac1099a9ddf2b6_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/7K3mjtfGuE7elvZrRRuEPA--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/22e7359a4bd872db3e7c32d5e1ac1099a9ddf2b6_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/I3L8MCu_X5JrJwZ3lrakiw--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/22e7359a4bd872db3e7c32d5e1ac1099a9ddf2b6_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/feSXFH.JpZk.32OVMu3PVA--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/22e7359a4bd872db3e7c32d5e1ac1099a9ddf2b6_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/1qM6Ux9TPfNBrJ9q3njFFw--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/22e7359a4bd872db3e7c32d5e1ac1099a9ddf2b6_1000x1000.jpg.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/YFV9LsRbFGmMQLtE2oQ1Zw--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/52ee4bccf94091df06c9f37ad6fda7371565950e_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "ttps://s.yimg.com/cl/api/res/1.2/5f3GlF7sDbvNXcVWHIT2uA--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/52ee4bccf94091df06c9f37ad6fda7371565950e_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/FURStPI8vb9aUIql8weNMA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/52ee4bccf94091df06c9f37ad6fda7371565950e_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/emqEjsumXfwxEZafPGJ2eQ--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/52ee4bccf94091df06c9f37ad6fda7371565950e_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/ysDS1cEcOf3t3dpgs_vLXQ--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/52ee4bccf94091df06c9f37ad6fda7371565950e_1000x1000.jpg.cf.jpg",
"width": 80
}
],
"items": [
{
"stock": 0,
"warehouseProductName": "test2023"
}
]
}
],
"msrp": "800.00",
"name": "test2023",
"safeStockQty": 1,
"shareMediaBetweenModels": false,
"shipType": {
"id": 200,
"model": 150,
"name": "EVoucher"
},
"shortDescription": [
"test2023"
],
"struDataAttrClusterId": "000003326551",
"struDataAttrClusterName": "收納",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test2",
"taxable": true,
"warranty": {
"handler": "none",
"period": "無保固",
"scope": "無保固",
"productStatus": "new"
},
"zoneId": "z3",
"zoneName": "電腦 / 週邊 / 軟體"
},
"reviewStatus": "draft",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test2",
"supplierId": 99999,
"supplierName": "興奇雅虎測試",
"type": "newListing",
"version": 2
}