資料架構
取得清單 — 產品 — 回應
ApiResponse_list_ProductSummaryData__ · API 接收或傳回的資料欄位、類型和限制。
data陣列 <ProductSummaryData> 必填回應示例 · ApiResponse_list_ProductSummaryData__.
metaContextPageMetaContextMetaPageMetaRequestMeta必填回應元資料。
附加欄位: 否
取得 — 產品 — 回應
ApiResponse_ProductDetailData_ · API 接收或傳回的資料欄位、類型和限制。
dataProductDetailData必填回應示例 · ProductDetailData.
metaContextPageMetaContextMetaPageMetaRequestMeta必填回應元資料。
附加欄位: 否
所選上下文中的可用性資訊
AvailabilityData · 架構 · 資料架構: 產品
available_from字串 null必填開始可用的時間。
字串:format:"date-time"available_until字串 null必填結束可用的時間。
字串:format:"date-time"is_available布林值必填此項目在目前上下文中是否可用。
附加欄位: 否
所選上下文中的價格資訊
PriceData · 架構 · 資料架構: 產品
amount字串必填以 JSON 字串編碼的十進位金額;僅在允許時使用 null。
currency字串必填金額的幣種代碼。
約束
pattern"^[A-Z]{3}$"
minor_units整數必填幣種使用的小數位數。
minimum:0maximum:4tax_included布林值必填提交的價格是否含稅。
附加欄位: 否
價格表資訊
PriceListData · 架構 · 資料架構: 產品
currency字串必填金額的幣種代碼。
id字串必填資源識別碼;請保留回傳的原值。 (PriceListData).
tax_included布林值必填提交的價格是否含稅。
version整數必填用於並行控制的資源版本。
附加欄位: 否
建立 — 產品 — 請求本文
ProductCreate · API 接收或傳回的資料欄位、類型和限制。
brand_id字串 null選填品牌識別碼。
字串:minLength:1maxLength:63condition字串選填產品狀況。
約束
enum["new", "refurbished", "used", "returned", "display", "damaged"]
description字串 null選填所選語言的描述。
字串:maxLength:100000feature_value_ids陣列 <字串> 選填所選屬性值的識別碼。
maxItems:1000陣列:minLength:1maxLength:63identifiersProductIdentifiersnull選填產品識別代碼。
market_ids陣列 <字串> 選填所選市場的識別碼。
maxItems:1000陣列:minLength:1maxLength:63media_ids陣列 <字串> 選填已存在媒體資產的識別碼。
maxItems:20陣列:minLength:1maxLength:63meta_description字串 null選填所選語言的搜尋引擎描述。
字串:maxLength:160meta_keywords陣列 <字串> null選填所選語言的搜尋引擎關鍵詞。
陣列:maxItems:20陣列 / 陣列:maxLength:50meta_title字串 null選填所選語言的搜尋引擎標題。
字串:maxLength:70name字串必填對應上下文中的資源名稱。
minLength:1maxLength:300pricingProductPrice選填價格配置及其並行控制版本。
primary_category_id字串 null選填主要分類識別碼。
字串:minLength:1maxLength:63published布林值選填資源是否已發佈。
sku字串必填庫存單位代碼。
minLength:1maxLength:100約束
pattern"^\\S+$"
slug字串 null選填所選語言的 URL 路徑段。
字串:maxLength:160tax_category_id字串 null選填稅務類別識別碼。
字串:minLength:1maxLength:63variant_value_ids陣列 <字串> 選填所選變體值的識別碼。
maxItems:250陣列:minLength:1maxLength:63variants_enabled布林值選填產品是否使用變體。
附加欄位: 否
取得 — 產品 — 回應
ProductDetailData · API 接收或傳回的資料欄位、類型和限制。
availabilityAvailabilityData必填所選上下文中的可用性資訊。
brand_id字串 null必填品牌識別碼。
condition字串必填產品狀況。
約束
enum["new", "refurbished", "used", "returned", "display", "damaged"]
created_at字串必填建立時間。
format:"date-time"description字串 null必填所選語言的描述。
features陣列 <FeatureSelectionData> 必填產品屬性。
id字串必填資源識別碼;請保留回傳的原值。 (ProductDetailData).
identifiers物件附加欄位: 字串必填產品識別代碼。
media陣列 <ProductMediaData> 必填附加媒體資訊。
meta_description字串 null必填所選語言的搜尋引擎描述。
meta_keywords陣列 <字串> null必填所選語言的搜尋引擎關鍵詞。
meta_title字串 null必填所選語言的搜尋引擎標題。
name字串 null必填對應上下文中的資源名稱。
number字串必填面向使用者的訂單號或申請編號。
pricePriceDatanull必填所選上下文中的價格資訊。
price_version整數必填用於並行控制的目前價格版本。
primary_category_id字串 null必填主要分類識別碼。
primary_media_id字串 null必填主要媒體資產識別碼。
published布林值必填資源是否已發佈。
sku字串必填庫存單位代碼。
slug字串 null必填所選語言的 URL 路徑段。
tax_category_id字串必填稅務類別識別碼。
updated_at字串必填最近更新時間。
format:"date-time"variants_enabled布林值必填產品是否使用變體。
version整數必填用於並行控制的資源版本。
附加欄位: 否
產品識別代碼
ProductIdentifiers · 架構 · 資料架構: 產品
ean字串 null選填產品 EAN 識別碼。
字串:minLength:1maxLength:100isbn字串 null選填ISBN 識別碼。
字串:minLength:1maxLength:100mpn字串 null選填製造商零件編號。
字串:minLength:1maxLength:100upc字串 null選填產品 UPC 識別碼。
字串:minLength:1maxLength:100
附加欄位: 否
附加媒體資訊
ProductMediaData · 架構 · 資料架構: 產品
alt_text字串 null必填圖片替代文本。
id字串必填資源識別碼;請保留回傳的原值。 (ProductMediaData).
is_primary布林值必填是否為主要項目。
kind字串必填由允許值說明的資料結構變體。
約束
enum["image", "video", "model_3d"]
mime_type字串必填媒體內容類型。
position整數必填在有序集合中的位置。
url字串 null必填資源 URL。
附加欄位: 否
價格配置及其並行控制版本
ProductPrice · 架構 · 資料架構: 產品
amount字串 null必填以 JSON 字串編碼的十進位金額;僅在允許時使用 null。
字串:maxLength:19約束 · 字串 1
pattern"^(0|[1-9][0-9]{0,13})(\\.[0-9]{1,4})?$"
currency字串必填金額的幣種代碼。
約束
pattern"^[A-Z]{3}$"
expected_price_list_version整數必填本次寫入要求的、此前讀取的價格表版本。
minimum:1maximum:9223372036854775807expected_version整數必填寫入前讀取的版本;不匹配時拒絕更新。
minimum:0maximum:9223372036854775807kind字串必填由允許值說明的資料結構變體。
約束
enum["base", "market_fixed"]
price_list_id字串必填價格表識別碼。
minLength:1maxLength:63tax_included布林值必填提交的價格是否含稅。
附加欄位: 否
取得清單 — 產品 — 回應
ProductSummaryData · API 接收或傳回的資料欄位、類型和限制。
availabilityAvailabilityData必填所選上下文中的可用性資訊。
brand_id字串 null必填品牌識別碼。
condition字串必填產品狀況。
約束
enum["new", "refurbished", "used", "returned", "display", "damaged"]
created_at字串必填建立時間。
format:"date-time"id字串必填資源識別碼;請保留回傳的原值。 (ProductSummaryData).
name字串 null必填對應上下文中的資源名稱。
number字串必填面向使用者的訂單號或申請編號。
pricePriceDatanull必填所選上下文中的價格資訊。
price_version整數必填用於並行控制的目前價格版本。
primary_category_id字串 null必填主要分類識別碼。
primary_media_id字串 null必填主要媒體資產識別碼。
published布林值必填資源是否已發佈。
sku字串必填庫存單位代碼。
slug字串 null必填所選語言的 URL 路徑段。
tax_category_id字串必填稅務類別識別碼。
updated_at字串必填最近更新時間。
format:"date-time"variants_enabled布林值必填產品是否使用變體。
version整數必填用於並行控制的資源版本。
附加欄位: 否
更新 — 產品 — 請求本文
ProductUpdate · API 接收或傳回的資料欄位、類型和限制。
brand_id字串 null選填品牌識別碼。
字串:minLength:1maxLength:63condition字串選填產品狀況。
約束
enum["new", "refurbished", "used", "returned", "display", "damaged"]
description字串 null選填所選語言的描述。
字串:maxLength:100000expected_variant_price_versions物件附加欄位: 整數選填minimum:0maximum:9223372036854775807此前讀取的價格版本,以變體識別碼為鍵。
maxProperties:250約束
propertyNames{"maxLength": 63, "minLength": 1}
expected_version整數必填寫入前讀取的版本;不匹配時拒絕更新。
minimum:1maximum:9223372036854775807feature_value_ids陣列 <字串> 選填所選屬性值的識別碼。
maxItems:1000陣列:minLength:1maxLength:63identifiersProductIdentifiersnull選填產品識別代碼。
market_ids陣列 <字串> 選填所選市場的識別碼。
maxItems:1000陣列:minLength:1maxLength:63media_ids陣列 <字串> 選填已存在媒體資產的識別碼。
maxItems:20陣列:minLength:1maxLength:63meta_description字串 null選填所選語言的搜尋引擎描述。
字串:maxLength:160meta_keywords陣列 <字串> null選填所選語言的搜尋引擎關鍵詞。
陣列:maxItems:20陣列 / 陣列:maxLength:50meta_title字串 null選填所選語言的搜尋引擎標題。
字串:maxLength:70name字串 null選填對應上下文中的資源名稱。
字串:maxLength:300pricingProductPrice選填價格配置及其並行控制版本。
primary_category_id字串 null選填主要分類識別碼。
字串:minLength:1maxLength:63published布林值選填資源是否已發佈。
sku字串選填庫存單位代碼。
minLength:1maxLength:100約束
pattern"^\\S+$"
slug字串 null選填所選語言的 URL 路徑段。
字串:maxLength:160tax_category_id字串 null選填稅務類別識別碼。
字串:minLength:1maxLength:63variant_value_ids陣列 <字串> 選填所選變體值的識別碼。
maxItems:250陣列:minLength:1maxLength:63variants_enabled布林值選填產品是否使用變體。
附加欄位: 否