ProductDetails

產品詳細資料。

JSON 表示法
{
  "productId": string,
  "gtin": string,
  "plu": string,
  "productType": string,
  "productAttributes": {
    string: string,
    ...
  }
}
欄位
productId

string

與這個委刊項相關聯的產品或優惠 ID。

gtin

string

產品的全球交易品項識別碼。在 Merchant Center 中沒有 OfferId 時相當實用。(選用)。

plu

string

價格查詢代碼通常稱為 PLU 代碼、PLU 號碼、PLU、產生代碼或農產品標籤,是一組專屬編號系統,可用於識別雜貨店和超市販售的大量農產品。

productType

string

商家定義的產品類別。例如:「首頁 >雜貨 >乳製品能量蛋 >牛奶 >全牛奶」

productAttributes

map (key: string, value: string)

商家提供的產品詳細資料,例如{ "allergen": "peanut"}。在 Merchant Center 中沒有 OfferId 時相當實用。選填。

這個物件中包含 "key": value 組合的清單,範例:{ "name": "wrench", "mass": "1.3kg", "count": "3" }