小包遞送

請使用這個範本說明檔案寄送狀態。

用途

基本小包遞送

包裹配送的最小範例

JSON-LD

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "ParcelDelivery",
  "deliveryAddress": {
    "@type": "PostalAddress",
    "name": "Pickup Corner",
    "streetAddress": "24 Willie Mays Plaza",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "addressCountry": "US",
    "postalCode": "94107"
  },
  "expectedArrivalUntil": "2027-03-12T12:00:00-08:00",
  "carrier": {
    "@type": "Organization",
    "name": "FedEx"
  },
  "itemShipped": {
    "@type": "Product",
    "name": "Google Chromecast"
  },
  "partOfOrder": {
    "@type": "Order",
    "orderNumber": "176057",
    "merchant": {
      "@type": "Organization",
      "name": "Bob Dole"
    }
  }
}
</script>

微資料

<div itemscope itemtype="http://schema.org/ParcelDelivery">
  <div itemprop="deliveryAddress" itemscope itemtype="http://schema.org/PostalAddress">
    <meta itemprop="name" content="Pickup Corner"/>
    <meta itemprop="streetAddress" content="24 Willie Mays Plaza"/>
    <meta itemprop="addressLocality" content="San Francisco"/>
    <meta itemprop="addressRegion" content="CA"/>
    <meta itemprop="addressCountry" content="US"/>
    <meta itemprop="postalCode" content="94107"/>
  </div>
  <meta itemprop="expectedArrivalUntil" content="2027-03-12T12:00:00-08:00"/>
  <div itemprop="carrier" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="FedEx"/>
  </div>
  <div itemprop="itemShipped" itemscope itemtype="http://schema.org/Product">
    <meta itemprop="name" content="Google Chromecast"/>
  </div>
  <div itemprop="partOfOrder" itemscope itemtype="http://schema.org/Order">
    <meta itemprop="orderNumber" content="176057"/>
    <div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Bob Dole"/>
    </div>
  </div>
</div>

運送資訊 (含運送資訊)

包裹運送詳細資訊和詳細運送資訊範例

JSON-LD

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "ParcelDelivery",
  "deliveryAddress": {
    "@type": "PostalAddress",
    "name": "John Frank",
    "streetAddress": "24 Willie Mays Plaza",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "addressCountry": "US",
    "postalCode": "94107"
  },
  "originAddress": {
    "@type": "PostalAddress",
    "name": "John Frank",
    "streetAddress": "25 Willie Mays Plaza",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "addressCountry": "US",
    "postalCode": "94107"
  },
  "expectedArrivalFrom": "2027-03-10T12:00:00-08:00",
  "expectedArrivalUntil": "2027-03-12T12:00:00-08:00",
  "carrier": {
    "@type": "Organization",
    "name": "FedEx",
    "url": "http://fedex.com/"
  },
  "itemShipped": {
    "@type": "Product",
    "name": "iPod Mini",
    "url": "http://apple.com/ipad32gb",
    "image": "http://apple.com/images/ipad32gb.jpg",
    "sku": "B00DR0PDNE",
    "description": "iPod Mini 32Gb White",
    "brand": {
      "@type": "Brand",
      "name": "Apple"
    },
    "color": "white"
  },
  "trackingNumber": "3453291231",
  "trackingUrl": "http://fedex.com/track/3453291231",
  "potentialAction": {
    "@type": "TrackAction",
    "url": "http://fedex.com/track/3453291231"
  },
  "hasDeliveryMethod": {
    "@type": "ParcelService",
    "name": "http://schema.org/ParcelService"
  },
  "partOfOrder": {
    "@type": "Order",
    "orderNumber": "176057",
    "merchant": {
      "@type": "Organization",
      "name": "Bob Dole",
      "sameAs": "http://www.freebase.com/m/0fhkx"
    },
    "orderStatus": "http://schema.org/OrderInTransit"
  }
}
</script>

微資料

<div itemscope itemtype="http://schema.org/ParcelDelivery">
  <div itemprop="deliveryAddress" itemscope itemtype="http://schema.org/PostalAddress">
    <meta itemprop="name" content="John Frank"/>
    <meta itemprop="streetAddress" content="24 Willie Mays Plaza"/>
    <meta itemprop="addressLocality" content="San Francisco"/>
    <meta itemprop="addressRegion" content="CA"/>
    <meta itemprop="addressCountry" content="US"/>
    <meta itemprop="postalCode" content="94107"/>
  </div>
  <div itemprop="originAddress" itemscope itemtype="http://schema.org/PostalAddress">
    <meta itemprop="name" content="John Frank"/>
    <meta itemprop="streetAddress" content="25 Willie Mays Plaza"/>
    <meta itemprop="addressLocality" content="San Francisco"/>
    <meta itemprop="addressRegion" content="CA"/>
    <meta itemprop="addressCountry" content="US"/>
    <meta itemprop="postalCode" content="94107"/>
  </div>
  <meta itemprop="expectedArrivalFrom" content="2027-03-10T12:00:00-08:00"/>
  <meta itemprop="expectedArrivalUntil" content="2027-03-12T12:00:00-08:00"/>
  <div itemprop="carrier" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="FedEx"/>
    <link itemprop="url" href="http://fedex.com/"/>
  </div>
  <div itemprop="itemShipped" itemscope itemtype="http://schema.org/Product">
    <meta itemprop="name" content="iPod Mini"/>
    <link itemprop="url" href="http://apple.com/ipad32gb"/>
    <link itemprop="image" href="http://apple.com/images/ipad32gb.jpg"/>
    <meta itemprop="sku" content="B00DR0PDNE"/>
    <meta itemprop="description" content="iPod Mini 32Gb White"/>
    <div itemprop="brand" itemscope itemtype="http://schema.org/Brand">
      <meta itemprop="name" content="Apple"/>
    </div>
    <meta itemprop="color" content="white"/>
  </div>
  <meta itemprop="trackingNumber" content="3453291231"/>
  <link itemprop="trackingUrl" href="http://fedex.com/track/3453291231"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/TrackAction">
    <link itemprop="url" href="http://fedex.com/track/3453291231"/>
  </div>
  <div itemprop="hasDeliveryMethod" itemscope itemtype="http://schema.org/ParcelService">
    <meta itemprop="name" content="http://schema.org/ParcelService"/>
  </div>
  <div itemprop="partOfOrder" itemscope itemtype="http://schema.org/Order">
    <meta itemprop="orderNumber" content="176057"/>
    <div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Bob Dole"/>
      <link itemprop="sameAs" href="http://www.freebase.com/m/0fhkx"/>
    </div>
    <link itemprop="orderStatus" href="http://schema.org/OrderInTransit"/>
  </div>
</div>

測試標記

您可以使用電子郵件標記測試工具來驗證標記。貼上您的標記程式碼,然後按一下 [驗證] 按鈕即可掃描內容,並且在發現錯誤時收到報告。

規格

下表列出此類型可用的所有屬性:

屬性 類型 說明
寄送地址 郵寄地址 (必填) 目的地地址。
deliveryAddress.name 文字 郵寄地址。
deliveryAddress.streetAddress 文字 (必填) 街道地址。例如 1600 Amphitheatre Pkwy。
deliveryAddress.addressLocality 文字 (必填) 地區。例如,山景城。
deliveryAddress.addressRegion 文字 (必填) 地區。例如 CA
deliveryAddress.addressCountry 文字或國家/地區 (必填) 國家/地區。例如美國您也可以提供由兩個字母組成的 ISO 3166-1 alpha-2 國家/地區代碼。
deliveryAddress.postalCode 文字 (必填) 郵遞區號;例如 94043。
來源地址 郵寄地址 送貨員地址。
<來源地址>.<名稱> 文字 郵寄地址。
originAddress.streetAddress 文字 街道地址。例如 1600 Amphitheatre Pkwy。
originAddress.addressLocality 文字 縣市。例如,山景城。
originAddress.addressRegion 文字 地區。例如 CA
originAddress.addressCountry 文字或國家/地區 國家/地區。例如美國您也可以提供由兩個字母組成的 ISO 3166-1 alpha-2 國家/地區代碼。
originAddress.postalCode 文字 郵遞區號。例如 94043。
預計送達時間 DateTime 包裹預計送達的最早日期。
預計抵達時間 DateTime (必填) 包裹預計送達日期。
電信業者 機構組織 (必要) 負責遞送包裹的一方。同時也接受字串 (例如「FedEx」)。
carrier.name 文字 (必要) 機構名稱。
carrier.<網址> 網址 機構的網址。
已出貨 產品預訂 (必填) 本次出貨中包含的產品。為了呈現數量,請正確重複「產品」,或使用這項屬性,並改用 partOfOrder 來呈現「產品」的內容。也接受物件陣列。
itemShipped.名稱 文字 (必填) 產品名稱。
itemShipped.<網址>.<網址> 網址 (建議用於確認資訊卡/搜尋答案) 產品的網址,通常是商家網站上的產品到達網頁。
itemShipped.圖片 網址 (建議用於確認資訊卡/搜尋答案) 產品圖片的網址,通常是商家網站中的圖片。
itemShipped.SKU 文字 (建議用於確認卡片/搜尋解答) 股票存留單位 (SKU),也就是特定產品或服務的商家專屬 ID,或是優惠所指的產品。
itemShipped.說明 文字 產品的簡短說明,
itemShipped.品牌 品牌 與產品相關聯的品牌。
itemShipped.brand.name 文字 品牌名稱。
itemShipped.顏色 文字 產品的顏色。
追蹤號碼 文字 (建議用於確認卡片/搜尋解答) 貨運公司追蹤號碼。
追蹤網址 網址 (建議用於確認資訊卡/搜尋答案) 可追蹤包裹的網頁。
hasDeliveryMethod 交付方法 用於交付方式。
放送狀態 放送事件 新增新方案時,每個包裹都會經過一段旅程 (從運送到最終送達)。這對於取貨風格配送服務特別有用 (例如店內有貨櫃)。
部分訂單 訂購 (必填) 運送訂單的詳細資料。如果無法運送商品將一併附上出貨產品的詳細資料 (例如出貨數量),請改用「訂單」來表示產品。
partOfOrder.orderNumber 文字 (必填) 交易的商家專屬 ID。
partOfOrder. 商家 組織人員 (必填) 接受訂單的一方 (例如 Amazon.com 是許多賣家的商家)。也接受字串 (例如「Bob Dole」)。
partOfOrder.merchant.name 文字 (必要) 機構名稱。
partOfOrder.merchant.sameAs 網址 商家的 Freebase 網址。
partOfOrder.orderStatus 訂單狀態 (建議用於確認資訊卡/搜尋答案) 訂單目前的狀態。