新增一般賣場提案 #
建立新增一般賣場提案單 #
建立 一般賣場提案單
Endpoint URL: https://tw.supplier.yahoo.com/api/spa/v1/proposals
HTTP Method: POST
Request Body #
applicant #
提案人。
資料型態: String
必填: 是
長度限制: 最長 10 個字
格式: 繁/簡體中文
subStationId #
提案當下的提案站別 ID。
資料型態: String
必填: 是
範例: sub1 (只允許供應商有簽約的子站)
type #
提案單類型。
資料型態: String
必填: 是
欄位說明: 請填寫 newListing
,詳情請參考 Proposal Type 提案類型
note #
備註。
資料型態: String
必填: 是
長度限制: 最長 200 個字
reviewStatus #
審核結果。
資料型態: String
必填: 是
欄位內容:
- composing 尚未提案
- draft 儲存暫不提案
- pendingReview 待審核
欄位說明: 新建一般賣場僅填寫以上狀態,其它狀態請參考 欄位定義表
listing #
賣場資訊。
catItemId deliveryType 欄位說明: reviewStatus 為 名詞定義: featureTitle price 欄位說明: reviewStatus 為 seoUrl preOrderExpectedShipDate 格式: ISO-8601 customizedOrderShipDateAfterPlaced onShelvedTs offShelvedTs purchaseQtyLimit cvsPurchaseQtyLimit isThresholdFreebie欄位說明
賣場目前的分類子類 ID。
資料型態: String
必填: 否
範例: catItem21704
欄位說明: reviewStatus 為 draft
以上時必填。若因分類變動導致無法以 catItemId 導回,則分類路徑 (區到子類) 資訊將不再回傳
交貨期限。
資料型態: String
必填: 否
欄位內容:
draft
以上時必填。限制如下:
電子票券
時,不論何種狀態皆為 normal快速到貨
: 依 安裝狀態
區分
是廢四機
: appointment非廢四機
: normal子站功能
區分
是直店配
: normal非直店配
: appointment, normal
若配送方式為
快速到貨
時不可自訂,將依上列規則自動指定。若為需要安裝或是屬於廢四機時,指定為 appointment
,否則指定為 normal
。
若配送方式為 電子票券
時不可自訂,將自動指定為 normal
。
特色標題。
資料型態: String
必填: 否
長度限制: 最長 20 個字
格式: 只接受繁/簡體中文、英文、數字、日文、注音符號、空格、 ,
、ˊ
、 ˇ
和 ˋ
欄位說明: reviewStatus 為 draft
以上時必填
購物中心售價
資料型態: String
必填: 否
範圍: 0-9999999
格式: 到小數點兩位
欄位規則:
draft
以上時必填。若 賣場毛利率 ((購物中心售價 - 成本) / 購物中心售價) < 子站毛利率
時,則有以下兩種狀況:
供應商啟用功能 包含
autoApproveListingOnOffShelve
即為有自動過審
賣場網址。
資料型態: String
必填: 否
長度限制: 最長 50 個字
格式: 只接受繁/簡體中文、英文、數字、-
,多個 -
會合併成一個,開頭不能是 -
欄位說明: reviewStatus 為 draft
以上時必填
預購型商品預定出貨日。
資料型態: String
必填: 否
範圍:
preOrder
: <= today+180
欄位說明: reviewStatus 為 draft
以上且 delieryType = preOrder
時必填
客製化商品完成訂單後出貨天數
資料型態: Integer
必填: 否
範圍: 3-90
欄位說明: reviewStatus 為 draft
以上且 delieryType = customized
時必填
開始時間。
資料型態: String
必填: 否
預設值: 現在時間
範圍: 不可大於結束時間
格式: ISO-8601
結束時間。
資料型態: String
必填: 否
預設值: 預設為開始時間 + 365 天
範圍: 不可小於開始時間
格式: ISO-8601
限購數量。
資料型態: Integer
必填: 否
預設值: 12
範圍: 1-99
超商取貨限購數量。
資料型態: Integer
必填: 否
預設值: 1
範圍: 1-32767
欄位說明: 僅 shipType.id = 800 (直店配) 時可更改,其餘只能為 1。最大值為 20000 / 購物中心售價
,取正整數。
是否為滿額贈贈品賣場。
資料型態: Boolean
必填: 否
預設值: false
欄位說明: 賣場限制如下:
雙層屬性賣場
預購型商品
、客製化商品
或客約送貨日
ESD
或電子票券
資料型態: ProposalListing
必填: 是
product #
商品資訊。
attributeDisplayMode attributes 規格種類: catItemId contentRating 欄位說明: cost isExpiringItem isInstallRequired isLargeVolumnProductGift isNeedRecycle isOutrightPurchase minPackingCount gameContents taxable models spec items videos images displayName 其中 spec 及 items 分別以賣場型態詳細說明: stock 欄位說明: 若 partNo barcode warehouseBarcode warehouseProductName isVisible stock 欄位說明: 若 partNo barcode warehouseBarcode warehouseProductName isVisible displayName spec msrp name partNo shipType shortDescription struDataAttrClusterId warranty copy brand brandId height length model preserveDays weight width eVoucherAttributes eVoucherType欄位說明
商品規格顯示方式。
資料型態: String
必填: 是
預設值: table
欄位內容:
商品規格表。
資料型態: Attribute[]
必填: 否
欄位說明: 在 ProposalProduct 的 models 中被選中的 Attribute,不可再填入此欄位。
其餘 structured data attribute cluster 定義的 必填欄位
(即 required 設為 ture) 則必須提供,
指的即是 GET v1/struDataAttrClusters
取回的內容 (即 StruDataAttrCluster 中的 attributes)。
自訂其他屬性
。
自訂屬性
名稱重複
商品目前的分類子類 ID。
資料型態: String
必填: 是
範例: catItem21704
欄位說明: 對應到的子站要跟供應商有簽約的子站有交集,若因分類變動導致無法以 catItemId 導回,則分類路徑 (區到子類) 資訊將不再回傳
內容級別。
資料型態: String
必填: 是
欄位內容:
subStationId=sub28
(電玩 / 遊戲),只允許 G, PG, PG12, PG15 and RsubStationId=sub566
,只允許 R and NC18
成本 (含稅+運費)。
資料型態: String
必填: 是
範圍: 0-9999999
格式: 到小數點兩位
欄位說明: 成本(含稅+運費) <= 購物中心售價 <= 廠商建議價
是否為即期品。
資料型態: Boolean
必填: 否
預設值: false
欄位說明: shipType.id = 61
(快速到貨) 且 preserveDays != null
(有效期商品) 時才能為 true
是否需要安裝。
資料型態: Boolean
必填: 否
預設值: false
欄位說明: shipType.id = 61
(快速到貨) 且有簽屬「家電增補附約」時才能為 true
是否為大型商品附屬贈品。
資料型態: Boolean
必填: 否
預設值: false
欄位說明: shipType.id = 61
(快速到貨) 且有簽屬「家電增補附約」時才能為 true
是否屬於廢四機。
資料型態: Boolean
必填: 否
預設值: false
欄位說明: 可填寫 true 需符合其中一項條件
是否為買斷商品。
資料型態: Boolean
必填: 否
預設值: false
欄位說明: shipType.id = 61
(快速到貨) 且有簽屬「買斷附約」時才能為 true
最小包裝數。
資料型態: Integer
必填: 否
預設值: 1
範圍: 1-32767
欄位說明: shipType.id = 61
(快速到貨) 時才能更改,其餘只能為 1
遊戲情節內容。
資料型態: String[]
必填: 否
欄位說明: 當 subStationId=sub28
時可填以下選項:
商品是否應稅。
資料型態: Boolean
必填: 否
預設值: true
欄位說明: 當提案子站為書籍 (subStationId=sub43
) 時才可以選擇 免稅
設為 false
商品型號(屬性)。
資料型態: ProposalModel[]
必填: 是
欄位說明: 每一個商品即為一筆 ProposalModel
商品屬性。
資料型態: Attribute[]
必填: 否
欄位說明: 無屬性賣場不需填寫
屬性內容。
資料型態: ProposalItem[]
必填: 否
欄位說明: 配送方式 shipType.id != 61 (快速到貨) 時必填
商品影片。
資料型態: ProductVideo[]
必填: 否
欄位說明: 商品影片 / 商品圖可透過 檔案上傳 取得上傳的圖片連結
商品圖。
資料型態: ProductImage[]
必填: 是
欄位說明: 商品影片 / 商品圖可透過 檔案上傳 取得上傳的圖片連結。規則如下:
賣場顯示名稱。
資料型態: String
必填: 否
格式: 不允許大小於符號和換行
預設值: 單層 / 雙層賣場預設為 spec.values[0]
,無屬性賣場為空
欄位說明: 單層 / 雙層賣場才可填寫
其他
,自訂內容存放於 displayName
{
"displayName": "白色系",
"spec": {
"name": "顏色",
"values": [
"白色系"
]
}
}
{
"displayName": "自訂白色系",
"spec": {
"name": "顏色",
"values": [
"其他"
]
}
}
{
"displayName": "自訂屬性白色系",
"spec": {
"name": "自訂顏色",
"values": [
"其他"
]
}
}
備貨數量。
資料型態: Integer
必填: 否
預設值: 0
範圍:
配送方式為 61 (快速到貨),則只能為 0
屬性商品供應商商品料號。
資料型態: String
必填: 否
格式: 不允許換行和 tab
長度限制: 最長 50 個字
實際國際條碼。
資料型態: String
必填: 否
長度限制: 限定為 12-14 碼
欄位說明: 若為下列 配送方式 時則可填寫
進倉用國際條碼。
資料型態: String
必填: 否
長度限制: 限定為 12-14 碼
欄位說明: 配送方式為 61: 快速到貨
時則可填寫,未填寫則由系統自動產生
進倉用商品名稱。
資料型態: String
必填: 否
長度限制: 最長 50 個字
預設值: {product.name}-{models[].displayName}-{models[].items[].displayName}
欄位說明: 配送方式為快速到貨
且預設值超過 50 個字才可填寫
屬性是否顯示於前台賣場。
資料型態: Boolean
必填: 否
預設值: true
雙層賣場中第 1 層屬性的 spec
其他
,自訂內容存放於 displayName
{
"displayName": "白色系",
"spec": {
"name": "顏色",
"values": [
"白色系"
]
}
}
{
"displayName": "自訂白色系",
"spec": {
"name": "顏色",
"values": [
"其他"
]
}
}
{
"displayName": "自訂項目白色系",
"spec": {
"name": "自訂顏色",
"values": [
"其他"
]
}
}
備貨數量。
資料型態: Integer
必填: 否
預設值: 0
範圍:
配送方式為 61 (快速到貨),則只能為 0
屬性商品供應商商品料號。
資料型態: String
必填: 否
格式: 不允許換行和 tab
長度限制: 最長 50 個字
實際國際條碼。
資料型態: String
必填: 否
長度限制: 限定為 12-14 碼
欄位說明: 若為下列 配送方式 時則可填寫
進倉用國際條碼。
資料型態: String
必填: 否
長度限制: 限定為 12-14 碼
欄位說明: 配送方式為 61: 快速到貨
時則可填寫,未填寫則由系統自動產生
進倉用商品名稱。
資料型態: String
必填: 否
長度限制: 最長 50 個字
預設值: {product.name}-{models[].displayName}-{models[].items[].displayName}
欄位說明: 配送方式為快速到貨
且預設值超過 50 個字才可填寫
屬性是否顯示於前台賣場。
資料型態: Boolean
必填: 否
預設值: true
賣場顯示名稱。
資料型態: String
必填: 否
預設值: spec.values[0]
格式: 不允許大小於符號和換行
欄位說明: 僅雙層賣場才可填寫,各個 model 間的 item.displayName
必須一致
雙層賣場第 2 層屬性的 spec。
資料型態: String
必填: 否
預設值: spec.values[0]
格式: 不允許大小於符號和換行
欄位說明: 僅雙層賣場才可填寫,各個 model 間的 item.spec.name
必須一致,規則如下:
其他
,自訂內容存放於 displayName
{
"displayName": "M",
"spec": {
"name": "商品尺寸",
"values": [
"M"
]
}
}
{
"displayName": "自訂S",
"spec": {
"name": "商品尺寸",
"values": [
"其他"
]
}
}
{
"displayName": "S",
"spec": {
"name": "自訂屬性尺寸",
"values": [
"其他"
]
}
}
廠商建議價 (manufacturer’s suggested retail price)。
資料型態: String
必填: 是
範圍: 0-9999999
格式: 到小數點兩位
欄位說明: 成本(含稅+運費) <= 購物中心售價 <= 廠商建議價
商品名稱。
資料型態: String
必填: 是
長度限制: 最長 100 個字
長度計算方式: {name}-{models[].displayName}-{models[].items[].displayName}
格式: 不允許大小於符號和換行
欄位說明: 若 shipType.id = 61
(快速到貨) 且為即期品,必須加上前綴 (即期品)
主件商品供應商商品料號。
資料型態: String
必填: 否
長度限制: 最長 50 個字
格式: 不允許換行和 tab
配送方式。
資料型態: ShipType
必填: 是
欄位內容: 若非電子票券
僅需填寫 id
欄位說明:
電子票券
時,賣場僅可設定為無屬性賣場
賣場簡短說明。
資料型態: String[]
必填: 是
長度限制: 每條最長 15 個字
格式: 不允許大小於符號和換行
欄位內容: 至少需填 1 條,最多 5 條
結構化資料屬性集 ID (Structured data attribute cluster ID)。
資料型態: String
必填: 是
商品保證。
資料型態: ProductWarranty
必填: 否
預設值: {“period”: “無保固”, “scope”: “無保固”, “handler”: “none”, "productStatus": "new"}
商品詳情 (文案),HTML content。
資料型態: String
必填: 是
欄位內容: 請參考 賣場/商品詳情(文案)限制
ESD 專用品牌。
資料型態: String
必填: 否
長度限制: 最長 20 個字
格式: 不允許大小於符號和換行
品牌 ID。
資料型態: String
必填: 是
欄位說明: 品牌 ID 可透過 品牌名稱關鍵字搜尋
brands[]
中會有多筆符合搜尋條件的品牌資料,選擇欲使用的品牌名稱 ex. Yahoo!,在提案內容 product.brandId
填寫相對應的 id
value 即可。
包裝完成後的商品高度,單位為 cm。
資料型態: Integer
必填: 否
格式: 需為正整數
欄位說明: 若配送方式 (shipType.id) 則為 61 快速到貨
或 800 直店配
必填。限制如下:
isInstallRequired
= true) 或有勾選「廢四機」(isNeedRecycle
= ture),則有以下限制:
包裝完成後的商品長度,單位為 cm。
資料型態: Integer
必填: 否
格式: 需為正整數
欄位說明: 若配送方式 (shipType.id) 則為 61 快速到貨
或 800 直店配
必填。限制如下:
isInstallRequired
= true) 或有勾選「廢四機」(isNeedRecycle
= ture),則有以下限制:
商品型號。
資料型態: String
必填: 否
長度限制: 最長 40 個字
格式: 不允許大小於符號和換行
商品保存期限,單位為天。
資料型態: Integer
必填: 否
範圍: 1-32767
格式: 需為正整數
欄位說明: 若為以下配送方式則可填,否則應為 null
快速到貨
電子票券
包裝完成後的商品重量,單位為 g。
資料型態: Integer
必填: 否
格式: 需為正整數
最大值: 2147483647
欄位說明: 若配送方式 (shipType.id) 則為 61 快速到貨
或 800 直店配
必填。限制如下:
isInstallRequired
= true) 或有勾選「廢四機」(isNeedRecycle
= ture) 才可大於 30,000g
包裝完成後的商品寬度,單位為 cm。
資料型態: Integer
必填: 否
格式: 需為正整數
欄位說明: 若配送方式 (shipType.id) 則為 61 快速到貨
或 800 直店配
必填。限制如下:
isInstallRequired
= true) 或有勾選「廢四機」(isNeedRecycle
= ture),則有以下限制:
電子票券資訊。
資料型態: VoucherAttribute[]
必填: 否
欄位說明: 若配送方式為 電子票券
(shipType.id=200 且 shipType.model=150) 必填。
電子票券類型。
資料型態: String
必填: 否
欄位說明:
電子票券
(shipType.id=200 且 shipType.model=150) 必填。
資料型態: ProposalProduct
必填: 否
reviewStatus 非 composing 時必填
Request/Response Syntax #
POST /api/spa/v1/proposals
{
"applicant": string,
"product": {
"attributeDisplayMode": string,
"attributes": [
{
"name": string,
"values": [
string
]
}
],
"catItemId": string,
"contentRating": string,
"cost": string,
"eVoucherAttributes": [
{
"name": string,
"value": string
}
],
"eVoucherType": string,
"isExpiringItem": boolean,
"isInstallRequired": boolean,
"isLargeVolume": boolean,
"isLargeVolumnProductGift": boolean,
"isNeedRecycle": boolean,
"isOutrightPurchase": boolean,
"minPackingCount": number,
"models": [
{
"items": [
{
"partNo": string,
"barcode": string,
"warehouseBarcode": string,
"warehouseProductName": string,
"spec": {
"name": string,
"values": [
string,
]
},
"displayName": string
}
],
"videos": [
{
"url": string,
"order": number
}
],
"images": [
{
"url": string,
"order": number
}
],
"spec": {
"name": string,
"values": [
string
]
},
"displayName": string
}
],
"msrp": string,
"name": string,
"partNo": string,
"shipType": {
"id": number,
"model": number
},
"shortDescription": [
string,
string
],
"struDataAttrClusterId": string,
"warranty": {
"period": string,
"description": string,
"handler": string,
"scope": string,
"productStatus": string
},
"copy": string,
"brand": string,
"brandId": string,
"height": number,
"length": number,
"model": string,
"preserveDays": number,
"weight": number,
"width": number
},
"reviewStatus": string,
"subStationId": string,
"type": string,
"note": string,
"listing": {
"catItemId": string,
"deliveryType": string,
"featureTitle": string,
"price": string,
"seoUrl": string,
}
}
{
"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": {
"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,
"eVoucherAttributes": [
{
"dataType": string,
"name": string,
"value": string
}
],
"eVoucherType": 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
Error Code | Description |
---|---|
Invalid input | |
40000005 | Contains illegal character(s) |
40000010 | Multiple bad parameters |
40000011 | Invalid ISO-8601 format |
40000012 | Image could not be fetched |
40000015 | Invalid array size |
40000018 | Unexpected empty field |
40000019 | Cannot contains emoji |
40000020 | Cannot start/end with space |
40000025 | Invalid integer format |
40009000 | The gross profit margin is too low |
40009001 | The gross profit margin should be greater than or equal to 0 |
40009002 | No permission to apply for low gross profit margin listing |
40009003 | No permission to set listing is not display |
40009005 | Sub station not exist |
40009007 | Price cannot be greater than CVS’ limitation NT$20,000 |
40009008 | Missing or bad sub station ID |
40009009 | Cannot fetch the provided media resource(s) |
40009010 | Manufacturer’s suggested retail price cannot be 0 |
40009011 | Price cannot be 0 |
40009012 | Cost cannot be 0 |
40009013 | Price cannot be greater than Manufacturer’s suggested retail price |
40009014 | Cost cannot be greater than Manufacturer’s suggested retail price |
40009015 | Cost cannot be greater than price |
40009016 | Manufacturer’s suggested retail price cannot be empty when the review status isn’t composing |
40009017 | Price cannot be empty when the review status isn’t composing and the type is newListing |
40009018 | Cost cannot be empty when the review status isn’t composing |
40009019 | Duplicated proposal product/listing media order |
40009020 | Insufficient proposal product/listing main image |
40009021 | The main image dimension should be a square and greater than or equal to 1000x1000 pixels |
40009022 | The image dimension should be a square and greater than or equal to 400x400 pixels |
40009023 | The first proposal product/listing model must have images when the review status isn’t composing |
40009024 | Seems not sharing images between models, please provide images for each model |
40009025 | Invalid iframe URL in the proposal copy HTML |
40009026 | Invalid image URL in the proposal copy HTML |
40009027 | Invalid listing display order |
40009028 | Invalid content in the proposal copy HTML |
40009029 | Mismatch category ID |
40009030 | Invalid categoryItem ID |
40009035 | Product warranty cannot be empty when the review status isn’t composing |
40009036 | Product warranty scope cannot be empty when the review status isn’t composing and warranty period isn’t 無保固 |
40009037 | Invalid product warranty handler, empty or none when the review status isn’t composing or warranty period isn’t 無保固 |
40009038 | Invalid media URL in the proposal |
40009039 | Invalid barcode |
40009040 | Duplicated warehouse barcode |
40009041 | Cannot designate the product as an install required item |
40009042 | Cannot designate the product as a large volume item’s gift |
40009043 | Proposal expired time must within +3 and +15 days |
40009044 | Product content rating cannot be empty when the review status isn’t composing |
40009045 | Invalid product content rating |
40009046 | Invalid product safe stock quantity |
40009047 | Product length cannot be empty when the review status isn’t composing |
40009048 | Product width cannot be empty when the review status isn’t composing |
40009049 | Product height cannot be empty when the review status isn’t composing |
40009050 | Product weight cannot be empty when the review status isn’t composing |
40009051 | Product length + width + height must be less than or equals to 150 cm |
40009052 | Product weight must be less than or equals to 20000 gram |
40009053 | Invalid product preserve days |
40009054 | Product cannot be a expiring item |
40009055 | Invalid product name, too long after appended the attribute name |
40009056 | Invalid product minimum packing count |
40009057 | Product display mode cannot be empty when the review status isn’t composing |
40009058 | Product game contents must be empty |
40009059 | Product structure data attribute cluster ID cannot be empty when the review status isn’t composing |
40009060 | Duplicated product specification |
40009061 | Duplicated product/listing attribute |
40009062 | Duplicate attributes and specifications |
40009063 | Proposal model specification must be empty when there is no attribute in the proposal |
40009064 | Proposal model display name must be empty when there is no attribute in the proposal |
40009065 | Proposal model specification name must be equal to each other |
40009066 | Proposal item specification must be empty when there aren’t 2 attributes in the proposal |
40009067 | Proposal item display name must be empty when there aren’t 2 attributes in the proposal |
40009068 | Proposal item specification name must be equal between models |
40009069 | Invalid proposal item stock |
40009070 | Proposal item warehouse barcode must be empty |
40009071 | Proposal item barcode must be empty |
40009072 | Proposal model specification cannot be empty when there isn’t no attribute in the proposal |
40009073 | Proposal model specification values must have only one value and pre-defined in structured data |
40009074 | Proposal item specification cannot be empty when there are 2 attributes in the proposal |
40009075 | Proposal item specification values must have only one value, be equal between models and pre-defined in structured data |
40009076 | Proposal models cannot be empty when the review status isn’t composing |
40009077 | Category item ID cannot be empty when the review status isn’t composing |
40009078 | Listing URL cannot be empty when the review status isn’t composing |
40009079 | Product name must start with (即期品) |
40009080 | Listing URL only allow Chinese, English, numeric and dash (- ) |
40009081 | Invalid product short description, might be longer than 15 words or contains invalid character |
40009082 | Product short description must have at least one is not empty when the review status isn’t composing |
40009083 | Listing delivery type cannot be empty when the review status isn’t composing |
40009084 | Listing pre-order expected ship date cannot be empty when delivery type is pre-order |
40009085 | Listing customized order ship date after placed cannot be empty when delivery type is customized |
40009086 | Invalid listing pre-order expected ship date |
40009087 | Cannot sharing media between models for the proposal which isn’t with 1 layer attribute |
40009088 | Listing on shelved time cannot be greater than off shelved time |
40009089 | Product copy cannot be empty when the review status isn’t composing |
40009090 | Listing CVS purchase quantity limit must less than 20000 / price |
40009091 | Listing CVS purchase quantity limit must be empty |
40009092 | Cannot designate the product as a recyclable item |
40009093 | Cannot designate the product as an outright purchased item |
40009094 | The supplier hasn’t be granted the ship type permission |
40009095 | Invalid delivery type |
40009096 | Invalid structure data attribute cluster ID |
40009097 | Only the first model can assign images when sharing media between models |
40009098 | Only the first model can assign videos when sharing media between models |
40009100 | Unallowed discount tool |
40009101 | Unallowed discount target member |
40009102 | Unallowed discount site |
40009103 | Unallowed discount activity |
40009105 | Cannot create a proposal with review status not in composing , draft and pendingReview |
40009106 | Cannot create a non-composing proposal with empty warranty period |
40009107 | Proposal applicant cannot be empty when the review status isn’t composing |
40009108 | The order number must be sequential when the review status isn’t composing |
40009109 | The sub station doesn’t support the delivery type |
40009110 | Invalid ship type ID |
40009111 | Product name cannot be empty when the review status isn’t composing |
40009112 | Product/Listing attribute value cannot be empty |
40009113 | Product/Listing attribute value’s length does not meet the constraints |
40009114 | Too many customized product/listing attribute values |
40009115 | Missing required product/listing attribute |
40009116 | Product/Listing attributes values are duplicated |
40009117 | Too many product/listing attribute values |
40009119 | The image order cannot be empty |
40009120 | Duplicated game contents |
40009121 | Unallowed game contents |
40009122 | Invalid product is large volume |
40009124 | Duplicated display name |
40009127 | Invalid listing ID |
40009128 | Invalid listing copy |
40009131 | Video does not exist |
40009132 | Product length, width or height must be less than or equals to its limitation |
40009133 | The SKU doesn’t belong to the listing |
40009134 | Duplicated SKU in the proposal listing models , additionalPurchases , complimentaries or selectComplimentaries |
40009135 | The first model SKU must correspond to the listing if you share the media between models |
40009136 | The image dimension must be 1000, 400, 250, 135 or 80 |
40009137 | The image must be square and the dimension must greater than or equal to the specified pixels |
40009138 | The image URL doesn’t belong to the listing |
40009139 | The width doesn’t match the original image |
40009140 | The proposal listing images/videos must be empty when there are models in the listing |
40009141 | The proposal listing models must be empty when there is no model in the listing |
40009142 | The SKU belongs to a complimentary group, cannot be adjusted directly |
40009143 | Product name for warehouse entry must be less than 50 words |
40009144 | Product images must be synchronized when there are models in the listing |
40009145 | Duplicated warehouse product name |
40009146 | Invalid NCC certification code |
40009184 | The product in the specified sub station could not be tax-free |
40009186 | The threshold freebie listing must be invisible |
40009187 | Cannot be a threshold freebie listing when there are 2 attributes in the proposal |
40009188 | The sub station hasn’t be granted the ship type permission |
40009195 | Missing required E-Voucher attribute |
40009196 | E-Voucher attribute value’s length not match the constraints |
40009197 | Invalid E-Voucher attribute name |
40009198 | E-Voucher attributes cannot be empty |
40009199 | E-Voucher type cannot be empty |
40009200 | Cannot be an E-Voucher listing when there isn’t no attribute in the proposal |
40009212 | Invalid product warranty productStatus |
40009225 | Brand ID cannot be empty when the review status isn’t composing |
40009226 | Brand ID must be pre-defined in brand data |
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 |
40309000 | The supplier hasn’t signed the sub station contract |
Unprocessable Entity #
提案單狀態驗證不通過,請確認提案單狀態。
HTTP Status Code: 422
Error Code | Description |
---|---|
42209000 | Supports POST/PUT newListing, newProduct, updateCopy, newListingByApi, updateVideo, updateImageV2 and updateListingAttribute proposal type only currently |
42209001 | Supports POST/PUT composing, draft and pendingReview proposal review status only currently |
Internal Server Error #
API 端發生錯誤,若持續發生請洽您的業務窗口。
HTTP Status Code: 500
Examples #
新增一般賣場,無論是無屬性、單層或雙層賣場,皆需要以下 5 步驟:
1. 取得供應商簽約的子站列表 #
透過此 API 取得供應商簽約的子站列表 GET v1/user GET /api/spa/v1/user
,簽約子站清單位於 profile.signedSubStationIds
。
2. 取得賣場分類與進階資訊 #
透過上述 API 取得 sub1
帶入此 API GET v1/categories 取得賣場分類與進階資訊。
ex. GET /api/spa/v1/categories?categoryId=sub1&fields=children,parents
會得到此子站下的所有 category 資料,亦會得到欲使用的 categoryId
。
3. 取得結構化資料欄位 #
- 透過
categoryId
帶入 API GET v1/struDataAttrClusters 取得結構化資料欄位。
ex.GET /api/spa/v1/struDataAttrClusters?categoryId=catItem10070&proposalType=newListing
會得到欲使用的 structure attributes,可用於提案中的product.attributes
。 struDataAttrClusters.attributes[]
中會有多筆規格表,取得欲使用的規格表 ex. struDataAttrClusters[0].id = 000003326689 的 attribute 若 required 設為 true 則為必填欄位。當規格表設為
必填
欄位時,皆需填寫在product.attributes
下並填寫相對應的 value。
4. 取得檔案 URL #
models 中的 videos 與 images 需自行上傳至 AWS,詳細流程請參考 檔案上傳流程,為以下 3 個步驟:
- 透過 GET v1/credentials 取得
AWS 憑證
。 - 透過此 AWS 憑證在 AWS 上傳圖片或影片後會得到
ETag
。上傳圖片或影片皆需透過 AWS API 取得 ETag
- 透過此 ETag 於 GET v1/fileObjects/{ETag} 取得
檔案 URL
。
5. 取得品牌 ID #
品牌 ID 可透過 品牌名稱關鍵字搜尋
brands[]
中會有多筆符合搜尋條件的品牌資料,選擇欲使用的品牌名稱 ex. Yahoo!,在提案內容product.brandId
填寫相對應的id
value 即可。
提案儲存為草稿狀態範例: #
新增無屬性賣場
提案欄位說明:
- 快速到貨 (61)
- 子站 1 (sub1) 且 categoryId 為 catItem10070
- 規格表 ID 為 000003326689
- 品牌 ID 為 41166484
- 即期品商品
- 交貨期限為
客約送貨日
- 提案 type 一律為
newListing
- 提案建立為
draft
(儲存暫不提案) product.models
僅會有一筆 ProposalModel, 且product.models[0].items
也僅會有一筆 ProposalItem,當中並不會包含任何 spec value。
POST /api/spa/v1/proposals HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"applicant": "申請人",
"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"
]
}
],
"brandId": "41166484",
"catItemId": "catItem10070",
"contentRating": "G",
"cost": "50.00",
"isExpiringItem": true,
"isInstallRequired": true,
"isLargeVolume": true,
"isLargeVolumnProductGift": true,
"isNeedRecycle": true,
"isOutrightPurchase": true,
"minPackingCount": 10,
"models": [
{
"items": [
{
"partNo": "5566",
"barcode": "725272730706",
"warehouseBarcode": "9785109946480"
}
],
"videos": [
{
"url": "https://s.yimg.com/bp/Files/374d9974ab2cbce382e42724fede7aa07313cae6.qt",
"order": 1
}
],
"images": [
{
"url": "https://s.yimg.com/bp/Files/ba0b8bf005bab4e7cc8821afea217e342a1dfca3.png",
"order": 1
},
{
"url": "https://s.yimg.com/bp/Files/3b0bc05cf3c5af7cd17b878edce05eab7d0b97d0.jpg",
"order": 2
}
]
}
],
"msrp": "100.00",
"name": "(即期品)我是商品名稱",
"partNo": "12345",
"shipType": {
"id": 61
},
"shortDescription": [
"我是簡短說明",
"我是簡短說明2"
],
"struDataAttrClusterId": "000003326689",
"warranty": {
"period": "一個月",
"description": "保固說明文字",
"handler": "official",
"scope": "新品瑕疵",
"productStatus": "new"
},
"copy": "<table width=\"100%\"><tbody><tr><td><p style=\"color:#000000;font-size:12pt;text-align:left;font-weight:100\">我是第1段標題</p></td></tr><tr><td><div align=\"left\"><img src=\"https://s.yimg.com/bp/Files/438ca02c84501c17070f6a5de2f25a52c4ce0f61.jpg\" style=\"height: auto; width: 650px; max-width: 650px;\"></div></td></tr><tr><td><p style=\"color:#000000;font-size:12pt;text-align:left\">我是描述</p></td></tr></tbody></table>",
"brand": "我是品牌",
"height": 77,
"length": 55,
"model": "我是商品型號",
"preserveDays": 56,
"weight": 88,
"width": 66
},
"reviewStatus": "draft",
"subStationId": "sub1",
"type": "newListing",
"note": "我是備註",
"listing": {
"catItemId": "catItem10070",
"deliveryType": "appointment",
"featureTitle": "我是特色標題",
"price": "100.00",
"seoUrl": "我是商品名稱"
}
}
{
"applicant": "申請人",
"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:34:58+08:00",
"onShelvedTs": "2019-03-05T15:34:58+08:00",
"price": "100.00",
"purchaseQtyLimit": 12,
"seoUrl": "我是商品名稱",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test",
"zoneId": "z3",
"zoneName": "電腦 / 週邊 / 軟體"
},
"modifiedTimes": 1,
"modifiedTs": "2019-03-05T15:34:58+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": "<table width=\"100%\">\n <tbody>\n <tr>\n <td><p style=\"color:#000000;font-size:12pt;text-align:left;font-weight:100\">我是第1段標題</p></td>\n </tr>\n <tr>\n <td>\n <div align=\"left\">\n <img src=\"https://s.yimg.com/bp/Files/438ca02c84501c17070f6a5de2f25a52c4ce0f61.jpg\" style=\"height: auto; width: 650px; max-width: 650px;\">\n </div></td>\n </tr>\n <tr>\n <td><p style=\"color:#000000;font-size:12pt;text-align:left\">我是描述</p></td>\n </tr>\n </tbody>\n</table>",
"cost": "50.00",
"height": 77,
"isExpiringItem": true,
"isInstallRequired": true,
"isLargeVolume": true,
"isLargeVolumnProductGift": true,
"isNeedRecycle": true,
"isOutrightPurchase": true,
"length": 55,
"minPackingCount": 10,
"model": "我是商品型號",
"models": [
{
"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",
"partNo": "5566",
"stock": 0,
"warehouseBarcode": "9785109946480",
"warehouseProductName": "(即期品)我是商品名稱"
}
],
"videos": [
{
"order": 1,
"url": "https://s.yimg.com/bp/Files/374d9974ab2cbce382e42724fede7aa07313cae6.qt"
}
]
}
],
"msrp": "100.00",
"name": "(即期品)我是商品名稱",
"partNo": "12345",
"preserveDays": 56,
"safeStockQty": 1,
"shareMediaBetweenModels": false,
"shipType": {
"id": 61,
"name": "Express24HR"
},
"shortDescription": [
"我是簡短說明",
"我是簡短說明2"
],
"struDataAttrClusterId": "000003326689",
"struDataAttrClusterName": "品牌桌上型電腦",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test",
"warranty": {
"description": "保固說明文字",
"handler": "official",
"period": "一個月",
"scope": "新品瑕疵",
"productStatus": "new"
},
"weight": 88,
"width": 66,
"zoneId": "z3",
"zoneName": "電腦 / 週邊 / 軟體"
},
"reviewStatus": "draft",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}
新增無屬性電子票券賣場
提案欄位說明:
- 電子票券 (shipType.id=200 且 shipType.model=150)
- 子站 1 (sub1) 且 categoryId 為 catItem10070
- 規格表 ID 為 000003326551
- 品牌 ID 為 41166484
- 提案 type 一律為
newListing
- 提案建立為
draft
(儲存暫不提案) product.models
僅會有一筆 ProposalModel, 且product.models[0].items
也僅會有一筆 ProposalItem,當中並不會包含任何 spec value。
POST /api/spa/v1/proposals HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"reviewStatus": "draft",
"subStationId": "sub1",
"applicant": "申請人",
"type": "newListing",
"expiredTs": "2023-02-12T00:00:00+08:00",
"product": {
"brandId": "41166484",
"eVoucherAttributes": [
{
"value": "1",
"name": "OrderNumber"
},
{
"value": "2022-12-19T19:17:00+08:00",
"name": "ProductCode"
},
{
"value": "文字測試",
"name": "MerchantCode"
}
],
"eVoucherType": "ticket",
"name": "test2023",
"catItemId": "catItem49297",
"struDataAttrClusterId": "000003326551",
"shipType": {
"id": 200,
"model": 150
},
"copy": "<p>10</p>",
"contentRating": "None",
"msrp": "800.00",
"cost": "100.00",
"safeStockQty": "1",
"warranty": {
"period": "無保固"
},
"isNeedRecycle": false,
"attributeDisplayMode": "list",
"shortDescription": [
"test2023"
],
"taxable": true,
"models": [
{
"items": [
{
"stock": 0
}
],
"images": [
{
"url": "https://s.yimg.com/bp/Files/22e7359a4bd872db3e7c32d5e1ac1099a9ddf2b6_1000x1000.jpg",
"order": 1
},
{
"url": "https://s.yimg.com/bp/Files/52ee4bccf94091df06c9f37ad6fda7371565950e_1000x1000.jpg",
"order": 2
}
]
}
],
"shareMediaBetweenModels": false,
"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"
]
}
],
"isExpiringItem": false
},
"listing": {
"onShelvedTs": "2023-01-09T14:51:00+08:00",
"offShelvedTs": "2024-01-09T14:51:59+08:00",
"isDisplay": true,
"price": "500.00",
"purchaseQtyLimit": "12",
"cvsPurchaseQtyLimit": 1,
"featureTitle": "test2023",
"isThresholdFreebie": false,
"applyLowGpm": false,
"seoUrl": "test2023",
"catItemId": "catItem49297"
}
}
{
"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
}
新增單層屬性賣場
提案欄位說明:
- 快速到貨 (61)
- 子站 1 (sub1) 且 categoryId 為 catItem10070
- 規格表 ID 為 000003326689
- 品牌 ID 為 41166484
- 即期品商品
- 交貨期限為
客約送貨日
- 提案 type 一律為
newListing
- 提案建立為
draft
(儲存暫不提案) product.models
有 2 筆 ProposalModel,分別代表 2 個屬性項目,屬性名稱為自訂一個商品屬性
,項目有自訂項目1
與自訂項目2
, 提案為 單層賣場 因此product.models[].items
僅各會有一筆 ProposalItem, items 當中並不會包含任何 spec value。提案屬性為自訂屬性,因此 Request Body 中的spec.values
需設為其他
,賣場顯示名稱設於displayName
。
POST /api/spa/v1/proposals HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"applicant": "申請人",
"product": {
"attributeDisplayMode": "table",
"attributes": [
{
"name": "品牌",
"values": [
"Dell戴爾",
"自訂一個品牌"
]
},
{
"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"
]
},
{
"name": "自訂一個規格",
"values": [
"自訂內容"
]
}
],
"brandId": "41166484",
"catItemId": "catItem10070",
"contentRating": "G",
"cost": "50.00",
"isExpiringItem": true,
"isInstallRequired": true,
"isLargeVolume": true,
"isLargeVolumnProductGift": true,
"isNeedRecycle": true,
"isOutrightPurchase": true,
"minPackingCount": 10,
"models": [
{
"items": [
{
"partNo": "5566",
"barcode": "725272730706",
"warehouseBarcode": "9785109946480"
}
],
"videos": [
{
"url": "https://s.yimg.com/bp/Files/d6d390d71ab6765028e31121c8f1441b5f31dc5b.mp4",
"order": 1
}
],
"images": [
{
"url": "https://s.yimg.com/bp/Files/ba0b8bf005bab4e7cc8821afea217e342a1dfca3.png",
"order": 1
},
{
"url": "https://s.yimg.com/bp/Files/3b0bc05cf3c5af7cd17b878edce05eab7d0b97d0.jpg",
"order": 2
}
],
"spec": {
"name": "自訂一個商品屬性",
"values": [
"其他"
]
},
"displayName": "自訂項目1"
},
{
"items": [
{
"partNo": "5568"
}
],
"videos": [
{
"url": "https://s.yimg.com/bp/Files/d6d390d71ab6765028e31121c8f1441b5f31dc5b.mp4",
"order": 1
}
],
"images": [
{
"url": "https://s.yimg.com/bp/Files/945b996a1bada1ccb966b8b0215875447024324c.jpg",
"order": 1
},
{
"url": "https://s.yimg.com/zp/MerchandiseImages/e886d26980-Gd-9413860.jpg",
"order": 2
}
],
"spec": {
"name": "自訂一個商品屬性",
"values": [
"其他"
]
},
"displayName": "自訂項目2"
}
],
"msrp": "100.00",
"name": "(即期品)我是商品名稱",
"partNo": "12345",
"shipType": {
"id": 61
},
"shortDescription": [
"我是簡短說明",
"我是簡短說明2"
],
"struDataAttrClusterId": "000003326689",
"warranty": {
"period": "一個月",
"description": "保固說明文字",
"handler": "official",
"scope": "新品瑕疵",
"productStatus": "new"
},
"copy": "<table width=\"100%\"><tbody><tr><td><p style=\"color:#000000;font-size:12pt;text-align:left;font-weight:100\">我是第1段標題</p></td></tr><tr><td><div align=\"left\"><img src=\"https://s.yimg.com/bp/Files/438ca02c84501c17070f6a5de2f25a52c4ce0f61.jpg\" style=\"height: auto; width: 650px; max-width: 650px;\"></div></td></tr><tr><td><p style=\"color:#000000;font-size:12pt;text-align:left\">我是描述</p></td></tr></tbody></table>",
"brand": "我是品牌",
"height": 77,
"length": 55,
"model": "我是商品型號",
"preserveDays": 56,
"weight": 88,
"width": 66
},
"reviewStatus": "draft",
"subStationId": "sub1",
"type": "newListing",
"note": "我是備註",
"listing": {
"catItemId": "catItem10070",
"deliveryType": "appointment",
"featureTitle": "我是特色標題",
"price": "100.00",
"seoUrl": "我是商品名稱"
}
}
{
"applicant": "申請人",
"applicantRole": "supplier",
"contactWindow": "contact-windows-id",
"createdTs": "2020-03-13T04:07:48Z",
"creator": "creator-id",
"executeStatus": "idle",
"expiredTs": "2020-03-27T16:00:00Z",
"id": 287821,
"listing": {
"applyLowGpm": false,
"catId": "cat430",
"catItemId": "catItem10070",
"catItemName": "新迅馳Sonoma",
"catName": "加值功能NB推薦",
"cvsPurchaseQtyLimit": 1,
"deliveryType": "appointment",
"discount": {
"activity": [
"actPromo",
"redeemFdbk",
"redGreen"
],
"site": [
"shopping",
"enterprise",
"app"
],
"targetMember": [
"general",
"enterprise",
"specific"
],
"tools": [
"redeemPoint",
"welfarePoint",
"rewardPoint",
"coupon"
]
},
"displayOrder": 1000,
"featureTitle": "我是特色標題",
"isDisplay": true,
"offShelvedTs": "2021-03-13T04:07:48Z",
"onShelvedTs": "2020-03-13T04:07:48Z",
"price": "100.00",
"purchaseQtyLimit": 12,
"seoUrl": "我是商品名稱",
"shareMediaBetweenModels": false,
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test2",
"zoneId": "z3",
"zoneName": "電腦 / 週邊 / 軟體"
},
"modifiedTimes": 1,
"modifiedTs": "2020-03-13T04:07:48Z",
"modifier": "mwu02",
"note": "我是備註",
"product": {
"attributeDisplayMode": "table",
"attributes": [
{
"name": "品牌",
"values": [
"Dell戴爾",
"自訂一個品牌"
]
},
{
"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"
]
},
{
"name": "自訂一個規格",
"values": [
"自訂內容"
]
}
],
"autoReplenishment": true,
"brand": "我是品牌",
"brandId": "41166484",
"brandName": "2M2",
"catId": "cat430",
"catItemId": "catItem10070",
"catItemName": "新迅馳Sonoma",
"catName": "加值功能NB推薦",
"contentRating": "G",
"copy": "<table width=\"100%\"><tbody><tr><td><p style=\"color:#000000;font-size:12pt;text-align:left;font-weight:100\">我是第1段標題</p></td></tr><tr><td><div align=\"left\"><img src=\"https://s.yimg.com/bp/Files/438ca02c84501c17070f6a5de2f25a52c4ce0f61.jpg\" style=\"height: auto; width: 650px; max-width: 650px;\" /></div></td></tr><tr><td><p style=\"color:#000000;font-size:12pt;text-align:left\">我是描述</p></td></tr></tbody></table>",
"cost": "50.00",
"height": 77,
"isExpiringItem": true,
"isInstallRequired": true,
"isLargeVolumnProductGift": true,
"isNeedRecycle": true,
"isOutrightPurchase": true,
"length": 55,
"minPackingCount": 10,
"model": "我是商品型號",
"models": [
{
"displayName": "自訂項目1",
"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",
"partNo": "5566",
"stock": 0,
"warehouseBarcode": "9785109946480",
"warehouseProductName": "(即期品)我是商品名稱-自訂項目1"
}
],
"spec": {
"name": "自訂一個商品屬性",
"values": [
"其他"
]
},
"videos": [
{
"order": 1,
"url": "https://s.yimg.com/bp/Files/d6d390d71ab6765028e31121c8f1441b5f31dc5b.mp4"
}
]
},
{
"displayName": "自訂項目2",
"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": [
{
"partNo": "5568",
"stock": 0,
"warehouseProductName": "(即期品)我是商品名稱-自訂項目2"
}
],
"spec": {
"name": "自訂一個商品屬性",
"values": [
"其他"
]
},
"videos": [
{
"order": 1,
"url": "https://s.yimg.com/bp/Files/d6d390d71ab6765028e31121c8f1441b5f31dc5b.mp4"
}
]
}
],
"msrp": "100.00",
"name": "(即期品)我是商品名稱",
"partNo": "12345",
"preserveDays": 56,
"safeStockQty": 1,
"shareMediaBetweenModels": false,
"shipType": {
"id": 61,
"name": "Express24HR"
},
"shortDescription": [
"我是簡短說明",
"我是簡短說明2"
],
"specs": [
{
"level": 1,
"name": "自訂一個商品屬性"
}
],
"struDataAttrClusterId": "000003326689",
"struDataAttrClusterName": "品牌桌上型電腦",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test2",
"warranty": {
"description": "保固說明文字",
"handler": "official",
"period": "一個月",
"scope": "新品瑕疵",
"productStatus": "new"
},
"weight": 88,
"width": 66,
"zoneId": "z3",
"zoneName": "電腦 / 週邊 / 軟體"
},
"reviewStatus": "draft",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test2",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}
新增雙層屬性賣場
提案欄位說明:
- 快速到貨 (61)
- 子站 1 (sub1) 且 categoryId 為 catItem10070
- 規格表 ID 為 000003326689
- 品牌 ID 為 41166484
- 即期品商品
- 交貨期限為
客約送貨日
- 提案 type 一律為
newListing
- 提案建立為
draft
(儲存暫不提案) product.models
有 2 筆 ProposalModel,分別代表 第 1 層屬性 品牌,有Dell戴爾
與hp惠普
,但這 2 個屬性又自訂為極致簡約Dell2019
與低調奢華hp讚
,所以於product.models
中會有displayName
顯示賣場屬性顯示名稱。 而提案為 雙層賣場,故第 2 層屬性為 顏色,分別為卡其
與灰色系
,又自訂為卡其色
與灰色
,因此product.models[].items
中會各有 2 筆 ProposalItem, item 會透過spec
標示屬性的名稱、值與displayName
標示賣場顯示名稱。
POST /api/spa/v1/proposals HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"applicant": "申請人",
"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"
]
}
],
"brandId": "41166484",
"catItemId": "catItem10070",
"contentRating": "G",
"cost": "50.00",
"isExpiringItem": true,
"isInstallRequired": true,
"isLargeVolume": true,
"isLargeVolumnProductGift": true,
"isNeedRecycle": true,
"isOutrightPurchase": true,
"minPackingCount": 10,
"models": [
{
"items": [
{
"partNo": "5566",
"barcode": "725272730706",
"warehouseBarcode": "9785109946480",
"warehouseProductName": "自訂為卡其Dell",
"spec": {
"name": "顏色",
"values": [
"卡其"
]
},
"displayName": "卡其色"
},
{
"partNo": "5567",
"spec": {
"name": "顏色",
"values": [
"灰色系"
]
},
"displayName": "灰色"
}
],
"videos": [
{
"url": "https://s.yimg.com/bp/Files/374d9974ab2cbce382e42724fede7aa07313cae6.qt",
"order": 1
}
],
"images": [
{
"url": "https://s.yimg.com/bp/Files/ba0b8bf005bab4e7cc8821afea217e342a1dfca3.png",
"order": 1
},
{
"url": "https://s.yimg.com/bp/Files/3b0bc05cf3c5af7cd17b878edce05eab7d0b97d0.jpg",
"order": 2
}
],
"spec": {
"name": "品牌",
"values": [
"Dell戴爾"
]
},
"displayName": "極致簡約Dell2019"
},
{
"spec": {
"name": "品牌",
"values": [
"hp惠普"
]
},
"items": [
{
"partNo": "5568",
"spec": {
"name": "顏色",
"values": [
"卡其"
]
},
"displayName": "卡其色"
},
{
"partNo": "5569",
"spec": {
"name": "顏色",
"values": [
"灰色系"
]
},
"displayName": "灰色"
}
],
"videos": [
{
"url": "https://s.yimg.com/bp/Files/374d9974ab2cbce382e42724fede7aa07313cae6.qt",
"order": 1
}
],
"images": [
{
"url": "https://s.yimg.com/bp/Files/945b996a1bada1ccb966b8b0215875447024324c.jpg",
"order": 1
},
{
"url": "https://s.yimg.com/zp/MerchandiseImages/e886d26980-Gd-9413860.jpg",
"order": 2
}
],
"displayName": "低調奢華hp讚"
}
],
"msrp": "100.00",
"name": "(即期品)12345678901234567890123456789",
"partNo": "12345",
"shipType": {
"id": 61
},
"shortDescription": [
"我是簡短說明",
"我是簡短說明2"
],
"struDataAttrClusterId": "000003326689",
"warranty": {
"period": "一個月",
"description": "保固說明文字",
"handler": "official",
"scope": "新品瑕疵",
"productStatus": "new"
},
"copy": "<table width=\"100%\"><tbody><tr><td><p style=\"color:#000000;font-size:12pt;text-align:left;font-weight:100\">我是第1段標題</p></td></tr><tr><td><div align=\"left\"><img src=\"https://s.yimg.com/bp/Files/438ca02c84501c17070f6a5de2f25a52c4ce0f61.jpg\" style=\"height: auto; width: 650px; max-width: 650px;\"></div></td></tr><tr><td><p style=\"color:#000000;font-size:12pt;text-align:left\">我是描述</p></td></tr></tbody></table>",
"brand": "我是品牌",
"height": 77,
"length": 55,
"model": "我是商品型號",
"preserveDays": 56,
"weight": 88,
"width": 66
},
"reviewStatus": "draft",
"subStationId": "sub1",
"type": "newListing",
"note": "我是備註",
"listing": {
"catItemId": "catItem10070",
"deliveryType": "appointment",
"featureTitle": "我是特色標題",
"price": "100.00",
"seoUrl": "我是商品名稱"
}
}
{
"applicant": "申請人",
"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:34:58+08:00",
"onShelvedTs": "2019-03-05T15:34:58+08:00",
"price": "100.00",
"purchaseQtyLimit": 12,
"seoUrl": "我是商品名稱",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test",
"zoneId": "z3",
"zoneName": "電腦 / 週邊 / 軟體"
},
"modifiedTimes": 1,
"modifiedTs": "2019-03-05T15:34:58+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": "<table width=\"100%\">\n <tbody>\n <tr>\n <td><p style=\"color:#000000;font-size:12pt;text-align:left;font-weight:100\">我是第1段標題</p></td>\n </tr>\n <tr>\n <td>\n <div align=\"left\">\n <img src=\"https://s.yimg.com/bp/Files/438ca02c84501c17070f6a5de2f25a52c4ce0f61.jpg\" style=\"height: auto; width: 650px; max-width: 650px;\">\n </div></td>\n </tr>\n <tr>\n <td><p style=\"color:#000000;font-size:12pt;text-align:left\">我是描述</p></td>\n </tr>\n </tbody>\n</table>",
"cost": "50.00",
"height": 77,
"isExpiringItem": true,
"isInstallRequired": true,
"isLargeVolume": 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",
"warehouseProductName": "自訂為卡其Dell"
},
{
"displayName": "灰色",
"partNo": "5567",
"spec": {
"name": "顏色",
"values": [
"灰色系"
]
},
"stock": 0,
"warehouseProductName": "(即期品)12345678901234567890123456789-極致簡約Dell2019-灰色"
}
],
"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,
"warehouseProductName": "(即期品)12345678901234567890123456789-低調奢華hp讚-卡其色"
},
{
"displayName": "灰色",
"partNo": "5569",
"spec": {
"name": "顏色",
"values": [
"灰色系"
]
},
"stock": 0,
"warehouseProductName": "(即期品)12345678901234567890123456789-低調奢華hp讚-灰色"
}
],
"spec": {
"name": "品牌",
"values": [
"hp惠普"
]
},
"videos": [
{
"order": 1,
"url": "https://s.yimg.com/bp/Files/374d9974ab2cbce382e42724fede7aa07313cae6.qt"
}
]
}
],
"msrp": "100.00",
"name": "(即期品)12345678901234567890123456789",
"partNo": "12345",
"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": "draft",
"subStationId": "sub1",
"subStationName": "筆記型電腦超過十一個字test",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}
提案送審並執行成功範例: #
- 當提案建立完成,提案的審核狀態 (reviewStatus) 為 pendingReview 且執行狀態 (executeStatus) 為 idle。
- 取得建立成功的提案,可透過 取得新增一般賣場提案 的 API 來取得。當提案的審核狀態 (reviewStatus) 為 approved 且執行狀態 (executeStatus) 為 finished ,即代表提案執行成功,此時
listing.id
會有產生的賣場編號。 以下為各屬性賣場的範例:
新增無屬性賣場
POST /api/spa/v1/proposals HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"reviewStatus": "pendingReview",
"subStationId": "sub10",
"applicant": "申請人",
"type": "newListing",
"expiredTs": "2023-05-05T00:00:00+08:00",
"product": {
"id": 6863557,
"name": "FE測試賣場屬性調整(無屬性)shipType-home",
"catItemId": "catItem15710",
"struDataAttrClusterId": "000003414671",
"shipType": {
"id": 1,
"name": "Home"
},
"copy": "<p>無屬性賣場FE-functional.shipType-home</p>",
"contentRating": "None",
"msrp": "1000.00",
"cost": "10.00",
"safeStockQty": 1,
"warranty": {
"period": "無保固"
},
"isNeedRecycle": false,
"attributeDisplayMode": "table",
"shortDescription": [
"無屬性"
],
"taxable": true,
"models": [
{
"items": [
{
"isVisible": true,
"stock": 0
}
],
"images": [
{
"url": "https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg",
"order": 1
},
{
"url": "https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg",
"order": 2
}
]
}
],
"shareMediaBetweenModels": false,
"isExpiringItem": false,
"brandId": "41166484"
},
"listing": {
"onShelvedTs": "2023-04-20T18:57:00+08:00",
"offShelvedTs": "2024-04-19T18:57:59+08:00",
"isDisplay": true,
"price": "100.00",
"purchaseQtyLimit": 12,
"cvsPurchaseQtyLimit": 1,
"isThresholdFreebie": false,
"seoUrl": "FE測試賣場屬性調整-無屬性-shipType-home",
"applyLowGpm": false,
"catItemId": "catItem15710",
"deliveryType": "normal"
}
}
{
"applicant": "申請人",
"appliedTs": "2023-04-20T10:59:15Z",
"contactWindow": "contact-windows-id",
"createdTs": "2023-04-20T10:59:15Z",
"creator": "creator-id",
"executeStatus": "idle",
"expiredTs": "2023-05-04T16:00:00Z",
"id": 802612,
"listing": {
"applyLowGpm": false,
"catId": "cat1090",
"catItemId": "catItem15710",
"catItemName": "蘋果星沙",
"catName": "09’熱門天后",
"cvsPurchaseQtyLimit": 1,
"deliveryType": "normal",
"isDisplay": true,
"isThresholdFreebie": false,
"offShelvedTs": "2024-04-19T10:57:59Z",
"onShelvedTs": "2023-04-20T10:57:00Z",
"price": "100.00",
"purchaseQtyLimit": 12,
"seoUrl": "FE測試賣場屬性調整-無屬性-shipType-home",
"shareMediaBetweenModels": false,
"subStationId": "sub10",
"subStationName": "流行女裝",
"syncProductImages": true,
"zoneId": "z7",
"zoneName": "服裝 / 飾品 / 配件"
},
"modifiedTimes": 1,
"modifiedTs": "2023-04-20T10:59:15Z",
"modifier": "creator-id",
"product": {
"attributeDisplayMode": "table",
"attributes": [],
"brandId": "41166484",
"brandName": "2M2",
"catId": "cat1090",
"catItemId": "catItem15710",
"catItemName": "蘋果星沙",
"catName": "09’熱門天后",
"contentRating": "None",
"copy": "<p>無屬性賣場FE-functional.shipType-home</p>",
"cost": "10.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/chlvWzdV637ZQbkgDZTe6w--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/GEkDrByVMINKAvLsxCxdFg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/jY1QUTK6vlCwyPxPCir1Kg--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/cxlL37m_bJCAABEQ8xRqww--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/pa.2_xaiIX_kTEu9tRElUg--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/Th00sHnQ3SK7H0uJH5Fn4A--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/tx_RVkhAaEn0E8Q1wiB_VA--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/3n68l0LG0S2hLHXwYu3eRA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/Q0ItM5KQGIfRtCywf5aM7g--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/PAGzgvReFGCrKUt9EF9eJA--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 80
}
],
"isVisible": true,
"items": [
{
"isVisible": true,
"stock": 0,
"warehouseProductName": "FE測試賣場屬性調整(無屬性)shipType-home"
}
]
}
],
"msrp": "1000.00",
"name": "FE測試賣場屬性調整(無屬性)shipType-home",
"safeStockQty": 1,
"shareMediaBetweenModels": false,
"shipType": {
"id": 1,
"name": "Home"
},
"shortDescription": [
"無屬性"
],
"struDataAttrClusterId": "000003414671",
"struDataAttrClusterName": "洋裝",
"subStationId": "sub10",
"subStationName": "流行女裝",
"taxable": true,
"warranty": {
"handler": "none",
"period": "無保固",
"scope": "無保固",
"productStatus": "new"
},
"zoneId": "z7",
"zoneName": "服裝 / 飾品 / 配件"
},
"reviewStatus": "pendingReview",
"subStationId": "sub10",
"subStationName": "流行女裝",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}
GET /api/spa/v1/proposal/802612?fields= HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"applicant": "申請人",
"appliedTs": "2023-04-20T10:59:15Z",
"contactWindow": "contact-windows-id",
"createdTs": "2023-04-20T10:59:15Z",
"creator": "creator-id",
"executeStatus": "finished",
"executedTs": "2023-04-20T10:59:26Z",
"expiredTs": "2023-05-04T16:00:00Z",
"id": 802612,
"listing": {
"applyLowGpm": false,
"catId": "cat1090",
"catItemId": "catItem15710",
"catItemName": "蘋果星沙",
"catName": "09’熱門天后",
"cvsPurchaseQtyLimit": 1,
"deliveryType": "normal",
"id": 3438266,
"isDisplay": true,
"isThresholdFreebie": false,
"offShelvedTs": "2024-04-19T10:57:59Z",
"onShelvedTs": "2023-04-20T10:57:00Z",
"price": "100.00",
"purchaseQtyLimit": 12,
"seoUrl": "FE測試賣場屬性調整-無屬性-shipType-home",
"shareMediaBetweenModels": false,
"subStationId": "sub10",
"subStationName": "流行女裝",
"syncProductImages": true,
"zoneId": "z7",
"zoneName": "服裝 / 飾品 / 配件"
},
"modifiedTimes": 17,
"modifiedTs": "2023-04-20T10:59:26Z",
"modifier": "GenericGd:SupplierAutoApproved.802612",
"product": {
"attributeDisplayMode": "table",
"attributes": [],
"brandId": "41166484",
"brandName": "2M2",
"catId": "cat1090",
"catItemId": "catItem15710",
"catItemName": "蘋果星沙",
"catName": "09’熱門天后",
"contentRating": "None",
"cost": "10.00",
"id": 6863682,
"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/chlvWzdV637ZQbkgDZTe6w--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/GEkDrByVMINKAvLsxCxdFg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/jY1QUTK6vlCwyPxPCir1Kg--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/cxlL37m_bJCAABEQ8xRqww--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/pa.2_xaiIX_kTEu9tRElUg--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/349e1b6d0a106d784ba1bc9384e584f59e9782c6_1000x1000.jpg.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/Th00sHnQ3SK7H0uJH5Fn4A--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/tx_RVkhAaEn0E8Q1wiB_VA--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/3n68l0LG0S2hLHXwYu3eRA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/Q0ItM5KQGIfRtCywf5aM7g--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/PAGzgvReFGCrKUt9EF9eJA--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/7293d831b60ee7ee948291c04c6d08e886e94cc1_1000x1000.jpg.cf.jpg",
"width": 80
}
],
"isVisible": true,
"items": [
{
"isVisible": true,
"stock": 0,
"warehouseProductName": "FE測試賣場屬性調整(無屬性)shipType-home"
}
]
}
],
"msrp": "1000.00",
"name": "FE測試賣場屬性調整(無屬性)shipType-home",
"safeStockQty": 1,
"shareMediaBetweenModels": false,
"shipType": {
"id": 1,
"name": "Home"
},
"shortDescription": [
"無屬性"
],
"struDataAttrClusterId": "000003414671",
"struDataAttrClusterName": "洋裝",
"subStationId": "sub10",
"subStationName": "流行女裝",
"taxable": true,
"warranty": {
"handler": "none",
"period": "無保固",
"scope": "無保固",
"productStatus": "new"
},
"zoneId": "z7",
"zoneName": "服裝 / 飾品 / 配件"
},
"reviewStatus": "approved",
"reviewedTs": "2023-04-20T10:59:18Z",
"reviewer": "SupplierAutoApproved",
"subStationId": "sub10",
"subStationName": "流行女裝",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}
新增單層賣場
POST /api/spa/v1/proposals HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"version": 2,
"subStationId": "sub28",
"type": "newListing",
"product": {
"name": "(即期品)123456789012345678901234567890123456789012345678901234567890123456789012345678901234567",
"shortDescription": [
null,
"賣場簡短說明2"
],
"shareMediaBetweenModels": true,
"models": [
{
"spec": {
"name": "適用平台",
"values": [
"PC"
]
},
"items": [
{
"stock": 0,
"partNo": "供應商商品料號test測試12😣 ∜ ∝ ∞なたな _ㄅたㄅㄆ!!@1AP測試剛好 50 個字唷",
"barcode": "3474370260505",
"warehouseProductName": "自訂進倉用商品名稱"
}
],
"images": [
{
"url": "https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png",
"order": 1
},
{
"url": "https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png",
"order": 2
},
{
"url": "https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg",
"order": 3
},
{
"url": "https://s.yimg.com/bp/Files/fd3370b11c339667a8982e7fa2b840c40772d5f5_400x400.jpg",
"order": 4
}
],
"displayName": "Mac PC"
},
{
"spec": {
"name": "適用平台",
"values": [
"其他"
]
},
"items": [
{
"stock": 100,
"partNo": "12345678901234567890123456789012345678901234567890"
}
],
"displayName": "Android"
},
{
"spec": {
"name": "適用平台",
"values": [
"PC"
]
},
"items": [
{
"stock": 1000
}
]
}
],
"shipType": {
"id": 800
},
"contentRating": "PG15",
"catItemId": "catItem13970",
"msrp": "30000.00",
"cost": "2999.00",
"safeStockQty": 1,
"length": 20,
"width": 20,
"height": 20,
"weight": 15000,
"isInstallRequired": false,
"isLargeVolumnProductGift": false,
"isNeedRecycle": true,
"isOutrightPurchase": false,
"isExpiringItem": false,
"minPackingCount": 1,
"copy": "<p>商品詳情1PrpslNewListingVideo0053</p><p>商品詳情2</p><p><img style=\"height: auto; width: auto; max-width: 650px;\" src=\"https://s.yimg.com/bp/Files/c27a23c4df4511fb670619dd5beed6c988806a77_650x650.png\" width=\"0\"></p><p><iframe src=\"https://www.youtube.com/embed/cz8HvVyG4rk\" width=\"640\" height=\"360\"></iframe></p><p><span style=\"font-size: 30px;\">30px</span></p></br><p><strong>粗體</strong></p></br><p><em>斜體</em></p></br><p><span style=\"text-decoration: underline;\">底線</span></p></br><p> </p></br><ul></br><li>項目清單</li></br></ul></br><ol></br><li>數字清單</li></br></ol></br><p>減少縮排</p></br><p style=\"padding-left: 30px;\">增加縮排</p></br><p style=\"text-align: left;\">靠左</p></br><p style=\"text-align: center;\">置中</p></br><p style=\"text-align: right;\">靠右</p></br><p style=\"text-align: justify;\">左右對齊</p></br><p><span style=\"color: #ff0000;\">顏色</span></p></br><table style=\"border-collapse: collapse; width: 28.2254%; height: 36px;\" border=\"1\"></br><tbody></br><tr style=\"height: 18px;\"></br><td style=\"width: 50%; height: 18px;\">表格1</td></br><td style=\"width: 63.2273%; height: 18px;\">表格2</td></br></tr></br><tr style=\"height: 18px;\"></br><td style=\"width: 50%; height: 18px;\">表格3</td></br><td style=\"width: 63.2273%; height: 18px;\">表格4</td></br></tr></br></tbody></br></table></br><p> </p>",
"warranty": {},
"attributeDisplayMode": "list",
"struDataAttrClusterId": "000003414670",
"attributes": [
{
"name": "類型",
"values": [
"動作"
]
},
{
"name": "級別",
"values": [
"遊戲輔導級 15+"
]
},
{
"name": "語音語言",
"values": [
"繁體中文",
"日文",
"英文",
"自訂項目~"
]
},
{
"name": "字幕語言",
"values": [
"繁體中文"
]
},
{
"name": "製作發行",
"values": [
"Games"
]
},
{
"name": "操作手冊",
"values": [
"中文"
]
},
{
"name": "遊戲名稱",
"values": [
"測試遊戲軟體"
]
},
{
"name": "發售日期",
"values": [
"2019😀"
]
},
{
"name": "遊戲人數",
"values": [
"1~4人"
]
}
],
"gameContents": [
"菸酒",
"不當言語"
],
"autoReplenishment": true,
"partNo": "09876543210987654321098765432109876543210987654321",
"taxable": true,
"brandId": "41166484"
},
"listing": {
"catItemId": "catItem13970",
"seoUrl": "測-試-賣A場简",
"deliveryType": "preOrder",
"preOrderExpectedShipDate": "2023-04-23T16:00:00Z",
"onShelvedTs": "2023-03-15T15:52:16Z",
"offShelvedTs": "2023-04-04T15:52:16Z",
"price": "4000.00",
"cvsPurchaseQtyLimit": 5,
"shareMediaBetweenModels": false,
"syncProductImages": true,
"isThresholdFreebie": false
},
"applicant": "申請人",
"expiredTs": "2023-04-25T16:00:00Z",
"reviewStatus": "pendingReview",
"applicantRole": "supplier"
}
{
"applicant": "申請人",
"appliedTs": "2023-04-19T10:14:24Z",
"contactWindow": "contact-windows-id",
"createdTs": "2023-04-19T10:14:24Z",
"creator": "creator-id",
"executeStatus": "idle",
"expiredTs": "2023-04-25T16:00:00Z",
"id": 801605,
"listing": {
"applyLowGpm": false,
"catId": "cat914",
"catItemId": "catItem13970",
"catItemName": "角色扮演",
"catName": "SONY PS2",
"cvsPurchaseQtyLimit": 5,
"deliveryType": "preOrder",
"isDisplay": true,
"isThresholdFreebie": false,
"offShelvedTs": "2023-04-04T15:52:16Z",
"onShelvedTs": "2023-03-15T15:52:16Z",
"preOrderExpectedShipDate": "2023-04-23T16:00:00Z",
"price": "4000.00",
"purchaseQtyLimit": 12,
"seoUrl": "測-試-賣A場简",
"shareMediaBetweenModels": false,
"subStationId": "sub28",
"subStationName": "電玩、遊戲",
"syncProductImages": true,
"zoneId": "z5",
"zoneName": "家電 / 視聽 / 電玩"
},
"modifiedTimes": 1,
"modifiedTs": "2023-04-19T10:14:24Z",
"modifier": "creator-id",
"product": {
"attributeDisplayMode": "list",
"attributes": [
{
"name": "類型",
"values": [
"動作"
]
},
{
"name": "級別",
"values": [
"遊戲輔導級 15+"
]
},
{
"name": "語音語言",
"values": [
"繁體中文",
"日文",
"英文",
"自訂項目~"
]
},
{
"name": "字幕語言",
"values": [
"繁體中文"
]
},
{
"name": "製作發行",
"values": [
"Games"
]
},
{
"name": "操作手冊",
"values": [
"中文"
]
},
{
"name": "遊戲名稱",
"values": [
"測試遊戲軟體"
]
},
{
"name": "發售日期",
"values": [
"2019😀"
]
},
{
"name": "遊戲人數",
"values": [
"1~4人"
]
}
],
"brandId": "41166484",
"brandName": "2M2",
"catId": "cat914",
"catItemId": "catItem13970",
"catItemName": "角色扮演",
"catName": "SONY PS2",
"contentRating": "PG15",
"copy": "<p>商品詳情1PrpslNewListingVideo0053</p><p>商品詳情2</p><p><img style=\"height: auto; width: auto; max-width: 650px;\" src=\"https://s.yimg.com/bp/Files/c27a23c4df4511fb670619dd5beed6c988806a77_650x650.png\" width=\"0\" /></p><p><iframe src=\"https://www.youtube.com/embed/cz8HvVyG4rk\" width=\"640\" height=\"360\"></iframe></p><p><span style=\"font-size: 30px;\">30px</span></p><p><strong>粗體</strong></p><p><em>斜體</em></p><p><span style=\"text-decoration: underline;\">底線</span></p><p> </p><ul><li>項目清單</li></ul><ol><li>數字清單</li></ol><p>減少縮排</p><p style=\"padding-left: 30px;\">增加縮排</p><p style=\"text-align: left;\">靠左</p><p style=\"text-align: center;\">置中</p><p style=\"text-align: right;\">靠右</p><p style=\"text-align: justify;\">左右對齊</p><p><span style=\"color: #ff0000;\">顏色</span></p><table style=\"border-collapse: collapse; width: 28.2254%; height: 36px;\" border=\"1\"><tbody><tr style=\"height: 18px;\"><td style=\"width: 50%; height: 18px;\">表格1</td><td style=\"width: 63.2273%; height: 18px;\">表格2</td></tr><tr style=\"height: 18px;\"><td style=\"width: 50%; height: 18px;\">表格3</td><td style=\"width: 63.2273%; height: 18px;\">表格4</td></tr></tbody></table><p> </p>",
"cost": "2999.00",
"gameContents": [
"菸酒",
"不當言語"
],
"height": 20,
"isExpiringItem": false,
"isInstallRequired": false,
"isLargeVolumnProductGift": false,
"isNeedRecycle": true,
"isOutrightPurchase": false,
"length": 20,
"minPackingCount": 1,
"models": [
{
"displayName": "Mac PC",
"images": [
{
"height": 1000,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/FtVxBlBUln9whSqKNDrKLw--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/IMIceV1yzBTTrqmTy6epzw--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/VSke8oUgTL5_T2.Kwx.SnA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/bUS4zB9YGPMP9f1iwzjyLQ--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/WoXsVcZKonMjgZtTdkIZhg--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/AkhDb8MtdjKuJrBSN8Kb7w--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/dRFtZPLoZJmg2hltyJZzDw--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/Sa3aadZiVspincwCAk3iLg--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/D_fLTSZAgaTiqACVmLudRg--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/3jVfc4acsgLYz.NfwvjBBQ--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/7uqXqyNrxbBNsew0fzu6AA--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/nuQtsL0dM7suQMbPGqqacA--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/2QORJehnRJBWrX.yV3NmEQ--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/HxeSgHaEzKSSz26.sf8c5A--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/hj6_SuSTex_rGQXo9lQBKQ--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 80
},
{
"height": 400,
"order": 4,
"url": "https://s.yimg.com/cl/api/res/1.2/Y62CqtfVW2HfKHe0Ur8qag--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/fd3370b11c339667a8982e7fa2b840c40772d5f5_400x400.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 4,
"url": "https://s.yimg.com/cl/api/res/1.2/InpL3PlKumVZd0X3dQ5RiQ--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/fd3370b11c339667a8982e7fa2b840c40772d5f5_400x400.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 4,
"url": "https://s.yimg.com/cl/api/res/1.2/uhhnsB0biRiW5WT7Kw6FEg--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/fd3370b11c339667a8982e7fa2b840c40772d5f5_400x400.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 4,
"url": "https://s.yimg.com/cl/api/res/1.2/dILqJ_6VUWKP9KDP0vn4Kg--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/fd3370b11c339667a8982e7fa2b840c40772d5f5_400x400.jpg.cf.jpg",
"width": 80
}
],
"isVisible": true,
"items": [
{
"barcode": "3474370260505",
"isVisible": true,
"partNo": "供應商商品料號test測試12😣 ∜ ∝ ∞なたな _ㄅたㄅㄆ!!@1AP測試剛好 50 個字唷",
"stock": 0,
"warehouseProductName": "(即期品)123456789012345678901234567890123456789012345678901234567890123456789012345678901234567-Mac PC"
}
],
"spec": {
"name": "適用平台",
"values": [
"PC"
]
}
},
{
"displayName": "Android",
"isVisible": true,
"items": [
{
"isVisible": true,
"partNo": "12345678901234567890123456789012345678901234567890",
"stock": 100,
"warehouseProductName": "(即期品)123456789012345678901234567890123456789012345678901234567890123456789012345678901234567-Android"
}
],
"spec": {
"name": "適用平台",
"values": [
"其他"
]
}
},
{
"displayName": "PC",
"isVisible": true,
"items": [
{
"isVisible": true,
"stock": 1000,
"warehouseProductName": "(即期品)123456789012345678901234567890123456789012345678901234567890123456789012345678901234567-PC"
}
],
"spec": {
"name": "適用平台",
"values": [
"PC"
]
}
}
],
"msrp": "30000.00",
"name": "(即期品)123456789012345678901234567890123456789012345678901234567890123456789012345678901234567",
"partNo": "09876543210987654321098765432109876543210987654321",
"safeStockQty": 1,
"shareMediaBetweenModels": true,
"shipType": {
"id": 800,
"name": "HomeStore"
},
"shortDescription": [
"賣場簡短說明2"
],
"specs": [
{
"level": 1,
"name": "適用平台"
}
],
"struDataAttrClusterId": "000003414670",
"struDataAttrClusterName": "遊戲軟體",
"subStationId": "sub28",
"subStationName": "電玩、遊戲",
"taxable": true,
"warranty": {
"handler": "none",
"period": "無保固",
"scope": "無保固",
"productStatus": "new"
},
"weight": 15000,
"width": 20,
"zoneId": "z5",
"zoneName": "家電 / 視聽 / 電玩"
},
"reviewStatus": "pendingReview",
"subStationId": "sub28",
"subStationName": "電玩、遊戲",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}
GET /api/spa/v1/proposal/801605?fields= HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"applicant": "申請人",
"appliedTs": "2023-04-19T10:14:24Z",
"contactWindow": "contact-windows-id",
"createdTs": "2023-04-19T10:14:24Z",
"creator": "creator-id",
"executeStatus": "finished",
"executedTs": "2023-04-19T10:14:34Z",
"expiredTs": "2023-04-25T16:00:00Z",
"id": 801605,
"listing": {
"applyLowGpm": false,
"catId": "cat914",
"catItemId": "catItem13970",
"catItemName": "角色扮演",
"catName": "SONY PS2",
"cvsPurchaseQtyLimit": 5,
"deliveryType": "preOrder",
"id": 3438181,
"isDisplay": true,
"isThresholdFreebie": false,
"offShelvedTs": "2023-04-04T15:52:16Z",
"onShelvedTs": "2023-03-15T15:52:16Z",
"preOrderExpectedShipDate": "2023-04-23T16:00:00Z",
"price": "4000.00",
"purchaseQtyLimit": 12,
"seoUrl": "測-試-賣A場简",
"shareMediaBetweenModels": false,
"subStationId": "sub28",
"subStationName": "電玩、遊戲",
"syncProductImages": true,
"zoneId": "z5",
"zoneName": "家電 / 視聽 / 電玩"
},
"modifiedTimes": 17,
"modifiedTs": "2023-04-19T10:14:34Z",
"modifier": "GenericGd:SupplierAutoApproved.801605",
"product": {
"attributeDisplayMode": "list",
"attributes": [
{
"name": "類型",
"values": [
"動作"
]
},
{
"name": "級別",
"values": [
"遊戲輔導級 15+"
]
},
{
"name": "語音語言",
"values": [
"繁體中文",
"日文",
"英文",
"自訂項目~"
]
},
{
"name": "字幕語言",
"values": [
"繁體中文"
]
},
{
"name": "製作發行",
"values": [
"Games"
]
},
{
"name": "操作手冊",
"values": [
"中文"
]
},
{
"name": "遊戲名稱",
"values": [
"測試遊戲軟體"
]
},
{
"name": "發售日期",
"values": [
"2019😀"
]
},
{
"name": "遊戲人數",
"values": [
"1~4人"
]
}
],
"brandId": "41166484",
"brandName": "2M2",
"catId": "cat914",
"catItemId": "catItem13970",
"catItemName": "角色扮演",
"catName": "SONY PS2",
"contentRating": "PG15",
"cost": "2999.00",
"gameContents": [
"菸酒",
"不當言語"
],
"height": 20,
"id": 6863382,
"isExpiringItem": false,
"isInstallRequired": false,
"isLargeVolumnProductGift": false,
"isNeedRecycle": true,
"isOutrightPurchase": false,
"length": 20,
"minPackingCount": 1,
"models": [
{
"displayName": "Mac PC",
"images": [
{
"height": 1000,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/FtVxBlBUln9whSqKNDrKLw--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/IMIceV1yzBTTrqmTy6epzw--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/VSke8oUgTL5_T2.Kwx.SnA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/bUS4zB9YGPMP9f1iwzjyLQ--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/WoXsVcZKonMjgZtTdkIZhg--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/5c6ba256b7f1e8de762397b9ce5beb1ef9484c1c_1200x1200.png.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/AkhDb8MtdjKuJrBSN8Kb7w--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/dRFtZPLoZJmg2hltyJZzDw--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/Sa3aadZiVspincwCAk3iLg--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/D_fLTSZAgaTiqACVmLudRg--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/3jVfc4acsgLYz.NfwvjBBQ--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/d85e95b00fd7336d8ff345ee4e0a9f9b52e9dee4_1200x1200.png.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/7uqXqyNrxbBNsew0fzu6AA--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/nuQtsL0dM7suQMbPGqqacA--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/2QORJehnRJBWrX.yV3NmEQ--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/HxeSgHaEzKSSz26.sf8c5A--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 3,
"url": "https://s.yimg.com/cl/api/res/1.2/hj6_SuSTex_rGQXo9lQBKQ--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/4727dcf3eb89bbb2372bffc92f879f94713a7123_1080x1080.jpg.cf.jpg",
"width": 80
},
{
"height": 400,
"order": 4,
"url": "https://s.yimg.com/cl/api/res/1.2/Y62CqtfVW2HfKHe0Ur8qag--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/fd3370b11c339667a8982e7fa2b840c40772d5f5_400x400.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 4,
"url": "https://s.yimg.com/cl/api/res/1.2/InpL3PlKumVZd0X3dQ5RiQ--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/fd3370b11c339667a8982e7fa2b840c40772d5f5_400x400.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 4,
"url": "https://s.yimg.com/cl/api/res/1.2/uhhnsB0biRiW5WT7Kw6FEg--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/fd3370b11c339667a8982e7fa2b840c40772d5f5_400x400.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 4,
"url": "https://s.yimg.com/cl/api/res/1.2/dILqJ_6VUWKP9KDP0vn4Kg--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/fd3370b11c339667a8982e7fa2b840c40772d5f5_400x400.jpg.cf.jpg",
"width": 80
}
],
"isVisible": true,
"items": [
{
"barcode": "3474370260505",
"id": 6863379,
"isVisible": true,
"partNo": "供應商商品料號test測試12😣 ∜ ∝ ∞なたな _ㄅたㄅㄆ!!@1AP測試剛好 50 個字唷",
"stock": 0,
"warehouseProductName": "(即期品)123456789012345678901234567890123456789012345678901234567890123456789012345678901234567-Mac PC"
}
],
"spec": {
"name": "適用平台",
"values": [
"PC"
]
}
},
{
"displayName": "Android",
"isVisible": true,
"items": [
{
"id": 6863380,
"isVisible": true,
"partNo": "12345678901234567890123456789012345678901234567890",
"stock": 100,
"warehouseProductName": "(即期品)123456789012345678901234567890123456789012345678901234567890123456789012345678901234567-Android"
}
],
"spec": {
"name": "適用平台",
"values": [
"其他"
]
}
},
{
"displayName": "PC",
"isVisible": true,
"items": [
{
"id": 6863381,
"isVisible": true,
"stock": 1000,
"warehouseProductName": "(即期品)123456789012345678901234567890123456789012345678901234567890123456789012345678901234567-PC"
}
],
"spec": {
"name": "適用平台",
"values": [
"PC"
]
}
}
],
"msrp": "30000.00",
"name": "(即期品)123456789012345678901234567890123456789012345678901234567890123456789012345678901234567",
"partNo": "09876543210987654321098765432109876543210987654321",
"safeStockQty": 1,
"shareMediaBetweenModels": true,
"shipType": {
"id": 800,
"name": "HomeStore"
},
"shortDescription": [
"賣場簡短說明2"
],
"specs": [
{
"level": 1,
"name": "適用平台"
}
],
"struDataAttrClusterId": "000003414670",
"struDataAttrClusterName": "遊戲軟體",
"subStationId": "sub28",
"subStationName": "電玩、遊戲",
"taxable": true,
"warranty": {
"handler": "none",
"period": "無保固",
"scope": "無保固",
"productStatus": "new"
},
"weight": 15000,
"width": 20,
"zoneId": "z5",
"zoneName": "家電 / 視聽 / 電玩"
},
"reviewStatus": "approved",
"reviewedTs": "2023-04-19T10:14:25Z",
"reviewer": "SupplierAutoApproved",
"subStationId": "sub28",
"subStationName": "電玩、遊戲",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}
新增雙層賣場
POST /api/spa/v1/proposals HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"reviewStatus": "pendingReview",
"subStationId": "sub10",
"applicant": "申請人",
"type": "newListing",
"expiredTs": "2023-05-04T00:00:00+08:00",
"product": {
"name": "測試賣場屬性調整(雙層屬性)",
"catItemId": "catItem15710",
"struDataAttrClusterId": "000003414671",
"shipType": {
"id": 1,
"name": "Home"
},
"copy": "<p>雙層屬性賣場FE-functional</p>",
"contentRating": "None",
"msrp": "1000.00",
"cost": "10.00",
"safeStockQty": 1,
"warranty": {
"period": "無保固"
},
"isNeedRecycle": false,
"attributeDisplayMode": "table",
"shortDescription": [
"雙層屬性"
],
"taxable": true,
"models": [
{
"displayName": "丹寧",
"spec": {
"name": "材質",
"values": [
"丹寧"
]
},
"items": [
{
"displayName": "L",
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"L"
]
},
"stock": 0
},
{
"displayName": "XL",
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"XL"
]
},
"stock": 0
}
],
"images": [
{
"url": "https://s.yimg.com/cl/api/res/1.2/fSH3hNo_QTW0vPydMQXaDQ--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"order": 1
},
{
"url": "https://s.yimg.com/cl/api/res/1.2/uogPLry5kWT8D9IdTBdDGA--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"order": 2
}
]
},
{
"displayName": "皮革",
"spec": {
"name": "材質",
"values": [
"皮革"
]
},
"items": [
{
"displayName": "L",
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"L"
]
},
"stock": 0
},
{
"displayName": "XL",
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"XL"
]
},
"stock": 0
}
],
"images": [
{
"url": "https://s.yimg.com/cl/api/res/1.2/fSH3hNo_QTW0vPydMQXaDQ--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"order": 1
},
{
"url": "https://s.yimg.com/cl/api/res/1.2/uogPLry5kWT8D9IdTBdDGA--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"order": 2
}
]
}
],
"specs": [
{
"level": 1,
"name": "材質"
},
{
"level": 2,
"name": "商品尺寸"
}
],
"shareMediaBetweenModels": false,
"isExpiringItem": false,
"brandId": "41166484"
},
"listing": {
"applyLowGpm": false,
"cvsPurchaseQtyLimit": 1,
"isDisplay": true,
"isThresholdFreebie": false,
"offShelvedTs": "2024-04-18T20:27:59+08:00",
"onShelvedTs": "2023-04-19T20:27:00+08:00",
"price": "100.00",
"purchaseQtyLimit": 12,
"seoUrl": "FE測試賣場屬性調整-雙層屬性",
"shareMediaBetweenModels": false,
"syncProductImages": true,
"catItemId": "catItem15710",
"deliveryType": "normal"
}
}
{
"applicant": "申請人",
"appliedTs": "2023-04-19T12:30:03Z",
"contactWindow": "contact-windows-id",
"createdTs": "2023-04-19T12:30:03Z",
"creator": "creator-id",
"executeStatus": "idle",
"expiredTs": "2023-05-03T16:00:00Z",
"id": 801930,
"listing": {
"applyLowGpm": false,
"catId": "cat1090",
"catItemId": "catItem15710",
"catItemName": "蘋果星沙",
"catName": "09’熱門天后",
"cvsPurchaseQtyLimit": 1,
"deliveryType": "normal",
"isDisplay": true,
"isThresholdFreebie": false,
"offShelvedTs": "2024-04-18T12:27:59Z",
"onShelvedTs": "2023-04-19T12:27:00Z",
"price": "100.00",
"purchaseQtyLimit": 12,
"seoUrl": "FE測試賣場屬性調整-雙層屬性",
"shareMediaBetweenModels": false,
"subStationId": "sub10",
"subStationName": "流行女裝",
"syncProductImages": true,
"zoneId": "z7",
"zoneName": "服裝 / 飾品 / 配件"
},
"modifiedTimes": 1,
"modifiedTs": "2023-04-19T12:30:03Z",
"modifier": "creator-id",
"product": {
"attributeDisplayMode": "table",
"attributes": [],
"brandId": "41166484",
"brandName": "2M2",
"catId": "cat1090",
"catItemId": "catItem15710",
"catItemName": "蘋果星沙",
"catName": "09’熱門天后",
"contentRating": "None",
"copy": "<p>雙層屬性賣場FE-functional</p>",
"cost": "10.00",
"isExpiringItem": false,
"isInstallRequired": false,
"isLargeVolumnProductGift": false,
"isNeedRecycle": false,
"isOutrightPurchase": false,
"minPackingCount": 1,
"models": [
{
"displayName": "丹寧",
"images": [
{
"height": 1000,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/fSH3hNo_QTW0vPydMQXaDQ--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/fSjCvMxO1EhVc48qFnVEJg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/e1rqeokSMyCB968ZvzFqXg--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/0WyJsI.tOwID5oKhJ0yEEg--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/GePd5oZlP3TSNOwI_JKaBA--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/uogPLry5kWT8D9IdTBdDGA--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/ePoAih.nfdGNDsB_3MQZKg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/MA3jSt6EoD.oeNS9ncigcA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/70wWb.BUwbCP.7WdvIuR4g--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/rlFF.i9rRXnzB5YUHHtM_w--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 80
}
],
"isVisible": true,
"items": [
{
"displayName": "L",
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"L"
]
},
"stock": 0,
"warehouseProductName": "測試賣場屬性調整(雙層屬性)-丹寧-L"
},
{
"displayName": "XL",
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"XL"
]
},
"stock": 0,
"warehouseProductName": "測試賣場屬性調整(雙層屬性)-丹寧-XL"
}
],
"spec": {
"name": "材質",
"values": [
"丹寧"
]
}
},
{
"displayName": "皮革",
"images": [
{
"height": 1000,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/fSH3hNo_QTW0vPydMQXaDQ--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/fSjCvMxO1EhVc48qFnVEJg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/e1rqeokSMyCB968ZvzFqXg--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/0WyJsI.tOwID5oKhJ0yEEg--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/GePd5oZlP3TSNOwI_JKaBA--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/uogPLry5kWT8D9IdTBdDGA--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/ePoAih.nfdGNDsB_3MQZKg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/MA3jSt6EoD.oeNS9ncigcA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/70wWb.BUwbCP.7WdvIuR4g--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/rlFF.i9rRXnzB5YUHHtM_w--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 80
}
],
"isVisible": true,
"items": [
{
"displayName": "L",
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"L"
]
},
"stock": 0,
"warehouseProductName": "測試賣場屬性調整(雙層屬性)-皮革-L"
},
{
"displayName": "XL",
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"XL"
]
},
"stock": 0,
"warehouseProductName": "測試賣場屬性調整(雙層屬性)-皮革-XL"
}
],
"spec": {
"name": "材質",
"values": [
"皮革"
]
}
}
],
"msrp": "1000.00",
"name": "測試賣場屬性調整(雙層屬性)",
"safeStockQty": 1,
"shareMediaBetweenModels": false,
"shipType": {
"id": 1,
"name": "Home"
},
"shortDescription": [
"雙層屬性"
],
"specs": [
{
"level": 1,
"name": "材質"
},
{
"level": 2,
"name": "商品尺寸"
}
],
"struDataAttrClusterId": "000003414671",
"struDataAttrClusterName": "洋裝",
"subStationId": "sub10",
"subStationName": "流行女裝",
"taxable": true,
"warranty": {
"handler": "none",
"period": "無保固",
"scope": "無保固",
"productStatus": "new"
},
"zoneId": "z7",
"zoneName": "服裝 / 飾品 / 配件"
},
"reviewStatus": "pendingReview",
"subStationId": "sub10",
"subStationName": "流行女裝",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}
GET /api/spa/v1/proposal/801930?fields= HTTP/1.1
HOST: tw.supplier.yahoo.com
Content-Type: application/json; charset=UTF-8
{
"applicant": "申請人",
"appliedTs": "2023-04-19T12:30:03Z",
"contactWindow": "contact-windows-id",
"createdTs": "2023-04-19T12:30:03Z",
"creator": "creator-id",
"executeStatus": "finished",
"executedTs": "2023-04-19T12:30:12Z",
"expiredTs": "2023-05-03T16:00:00Z",
"id": 801930,
"listing": {
"applyLowGpm": false,
"catId": "cat1090",
"catItemId": "catItem15710",
"catItemName": "蘋果星沙",
"catName": "09’熱門天后",
"cvsPurchaseQtyLimit": 1,
"deliveryType": "normal",
"id": 3438205,
"isDisplay": true,
"isThresholdFreebie": false,
"offShelvedTs": "2024-04-18T12:27:59Z",
"onShelvedTs": "2023-04-19T12:27:00Z",
"price": "100.00",
"purchaseQtyLimit": 12,
"seoUrl": "FE測試賣場屬性調整-雙層屬性",
"shareMediaBetweenModels": false,
"subStationId": "sub10",
"subStationName": "流行女裝",
"syncProductImages": true,
"zoneId": "z7",
"zoneName": "服裝 / 飾品 / 配件"
},
"modifiedTimes": 18,
"modifiedTs": "2023-04-19T12:30:12Z",
"modifier": "GenericGd:SupplierAutoApproved.801930",
"product": {
"attributeDisplayMode": "table",
"attributes": [],
"brandId": "41166484",
"brandName": "2M2",
"catId": "cat1090",
"catItemId": "catItem15710",
"catItemName": "蘋果星沙",
"catName": "09’熱門天后",
"contentRating": "None",
"cost": "10.00",
"id": 6863449,
"isExpiringItem": false,
"isInstallRequired": false,
"isLargeVolumnProductGift": false,
"isNeedRecycle": false,
"isOutrightPurchase": false,
"minPackingCount": 1,
"models": [
{
"displayName": "丹寧",
"images": [
{
"height": 1000,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/fSH3hNo_QTW0vPydMQXaDQ--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/fSjCvMxO1EhVc48qFnVEJg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/e1rqeokSMyCB968ZvzFqXg--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/0WyJsI.tOwID5oKhJ0yEEg--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/GePd5oZlP3TSNOwI_JKaBA--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/uogPLry5kWT8D9IdTBdDGA--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/ePoAih.nfdGNDsB_3MQZKg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/MA3jSt6EoD.oeNS9ncigcA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/70wWb.BUwbCP.7WdvIuR4g--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/rlFF.i9rRXnzB5YUHHtM_w--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 80
}
],
"isVisible": true,
"items": [
{
"displayName": "L",
"id": 6863445,
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"L"
]
},
"stock": 0,
"warehouseProductName": "測試賣場屬性調整(雙層屬性)-丹寧-L"
},
{
"displayName": "XL",
"id": 6863446,
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"XL"
]
},
"stock": 0,
"warehouseProductName": "測試賣場屬性調整(雙層屬性)-丹寧-XL"
}
],
"spec": {
"name": "材質",
"values": [
"丹寧"
]
}
},
{
"displayName": "皮革",
"images": [
{
"height": 1000,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/fSH3hNo_QTW0vPydMQXaDQ--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/fSjCvMxO1EhVc48qFnVEJg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/e1rqeokSMyCB968ZvzFqXg--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/0WyJsI.tOwID5oKhJ0yEEg--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 1,
"url": "https://s.yimg.com/cl/api/res/1.2/GePd5oZlP3TSNOwI_JKaBA--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/26272b8603faaa9afeed64683b53a9a5fdd1f5f1_1000x1000.jpg.cf.jpg",
"width": 80
},
{
"height": 1000,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/uogPLry5kWT8D9IdTBdDGA--/YXBwaWQ9dHdzcG1hbGw7dz0xMDAwO2g9MTAwMA--/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 1000
},
{
"height": 400,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/ePoAih.nfdGNDsB_3MQZKg--/YXBwaWQ9dHdzcG1hbGw7dz00MDA7aD00MDA-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 400
},
{
"height": 250,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/MA3jSt6EoD.oeNS9ncigcA--/YXBwaWQ9dHdzcG1hbGw7dz0yNTA7aD0yNTA-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 250
},
{
"height": 135,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/70wWb.BUwbCP.7WdvIuR4g--/YXBwaWQ9dHdzcG1hbGw7dz0xMzU7aD0xMzU-/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 135
},
{
"height": 80,
"order": 2,
"url": "https://s.yimg.com/cl/api/res/1.2/rlFF.i9rRXnzB5YUHHtM_w--/YXBwaWQ9dHdzcG1hbGw7dz04MDtoPTgw/https://s.yimg.com/bp/Files/b3792ac49d24fa7b54851e9acfc7735a2e9c20af_1000x1000.jpg.cf.jpg",
"width": 80
}
],
"isVisible": true,
"items": [
{
"displayName": "L",
"id": 6863447,
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"L"
]
},
"stock": 0,
"warehouseProductName": "測試賣場屬性調整(雙層屬性)-皮革-L"
},
{
"displayName": "XL",
"id": 6863448,
"isVisible": true,
"spec": {
"name": "商品尺寸",
"values": [
"XL"
]
},
"stock": 0,
"warehouseProductName": "測試賣場屬性調整(雙層屬性)-皮革-XL"
}
],
"spec": {
"name": "材質",
"values": [
"皮革"
]
}
}
],
"msrp": "1000.00",
"name": "測試賣場屬性調整(雙層屬性)",
"safeStockQty": 1,
"shareMediaBetweenModels": false,
"shipType": {
"id": 1,
"name": "Home"
},
"shortDescription": [
"雙層屬性"
],
"specs": [
{
"level": 1,
"name": "材質"
},
{
"level": 2,
"name": "商品尺寸"
}
],
"struDataAttrClusterId": "000003414671",
"struDataAttrClusterName": "洋裝",
"subStationId": "sub10",
"subStationName": "流行女裝",
"taxable": true,
"warranty": {
"handler": "none",
"period": "無保固",
"scope": "無保固",
"productStatus": "new"
},
"zoneId": "z7",
"zoneName": "服裝 / 飾品 / 配件"
},
"reviewStatus": "approved",
"reviewedTs": "2023-04-19T12:30:04Z",
"reviewer": "SupplierAutoApproved",
"subStationId": "sub10",
"subStationName": "流行女裝",
"supplierId": 99999,
"supplierName": "雅虎測試",
"type": "newListing"
}