Giao hàng

Sử dụng mẫu này để mô tả trạng thái giao gói hàng.

Trường hợp sử dụng

Chuyển phát bưu kiện cơ bản

Ví dụ đơn giản về việc giao gói hàng

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>

Vi dữ liệu

<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>

Chuyển phát bưu kiện kèm thông tin vận chuyển

Ví dụ về việc giao gói hàng kèm thông tin vận chuyển chi tiết

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>

Vi dữ liệu

<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>

Kiểm tra mục đánh dấu của bạn

Bạn có thể xác thực mã đánh dấu của mình bằng cách sử dụng Công cụ kiểm tra mã đánh dấu email. Dán mã đánh dấu của bạn rồi nhấp vào nút Xác thực để quét nội dung và nhận báo cáo về mọi lỗi xuất hiện.

Thông số kỹ thuật

Bảng sau đây liệt kê tất cả các thuộc tính có sẵn cho loại này:

Thuộc tính Loại Mô tả
tất cả postalAddress (Địa chỉ bưu chính) (bắt buộc) Địa chỉ đích.
deliveryAddress.tên Văn bản Tên của postalAddress.
deliveryAddress.streetAddress Văn bản (bắt buộc) Địa chỉ đường phố. Ví dụ: 1600 Amphitheatre Pkwy.
deliveryAddress.addressAddress Văn bản (bắt buộc) Thành phố. Ví dụ: Mountain View.
deliveryAddress.addressRegion Văn bản (bắt buộc) Khu vực. Ví dụ: CA.
deliveryAddress.addressCountry Văn bản hoặc quốc gia (bắt buộc) Quốc gia. Ví dụ: Hoa Kỳ. Bạn cũng có thể cung cấp mã quốc gia gồm 2 chữ cái theo định dạng ISO 3166-1 alpha-2.
deliveryAddress.Mã bưu chính Văn bản (bắt buộc) Mã bưu chính. Ví dụ: 94043.
địa chỉ nguồn gốc postalAddress (Địa chỉ bưu chính) Địa chỉ của người giao hàng.
originAddress.tên Văn bản Tên của postalAddress.
originAddress.streetAddress Văn bản Địa chỉ đường phố. Ví dụ: 1600 Amphitheatre Pkwy.
originAddress.addressAddress Văn bản Thành phố. Ví dụ: Mountain View.
originAddress.addressRegion Văn bản Khu vực. Ví dụ: CA.
originAddress.addressCountry Văn bản hoặc quốc gia Quốc gia. Ví dụ: Hoa Kỳ. Bạn cũng có thể cung cấp mã quốc gia gồm 2 chữ cái theo định dạng ISO 3166-1 alpha-2.
originAddress.Mã bưu chính Văn bản Mã bưu chính. Ví dụ: 94043.
Dự kiến đến từ DateTime Ngày sớm nhất mà gói hàng dự kiến đến nơi.
expectedArrivalUntil DateTime (bắt buộc) Ngày muộn nhất mà gói hàng dự kiến đến nơi.
nhà mạng Tổ chức (bắt buộc) Bên chịu trách nhiệm giao gói hàng. Cũng chấp nhận một chuỗi (ví dụ: "FedEx").
nhà mạng. Văn bản (bắt buộc) Tên của tổ chức.
nhà mạng.url URL URL của Tổ chức.
Đã giao hàng Sản phẩm hoặc Đặt trước (bắt buộc) Các sản phẩm có trong lô hàng này. Để thể hiện số lượng, hãy lặp lại một Sản phẩm một cách phù hợp hoặc không dùng thuộc tính này. Thay vào đó, hãy sử dụng thuộc tính PartOfOrder để thể hiện những sản phẩm có trong sản phẩm. Đồng thời chấp nhận một mảng đối tượng.
itemShipping.tên Văn bản (bắt buộc) Tên của Sản phẩm.
itemShipping.url URL (nên dùng cho thẻ xác nhận/Câu trả lời tìm kiếm) của Sản phẩm, thường là trang đích của sản phẩm trên trang web của người bán.
itemShipping.hình ảnh URL (nên dùng cho thẻ xác nhận/Câu trả lời tìm kiếm) URL của hình ảnh Sản phẩm, thường là hình ảnh trên trang web của người bán.
itemShipping.sku Văn bản (nên dùng cho thẻ xác nhận/Câu trả lời tìm kiếm) Đơn vị lưu kho (SKU), tức là giá trị nhận dạng của riêng người bán đối với một sản phẩm hoặc dịch vụ hoặc sản phẩm mà mặt hàng đó đề cập.
itemShipping.mô tả Văn bản Mô tả ngắn gọn về Sản phẩm.
itemShipping.thương hiệu Thương hiệu Thương hiệu có liên quan đến Sản phẩm.
itemShipping.brand.tên Văn bản Tên của Thương hiệu.
itemShipping.màu sắc Văn bản Màu của sản phẩm.
Số theo dõi Văn bản (nên dùng cho thẻ xác nhận/Câu trả lời tìm kiếm) Số theo dõi người gửi hàng.
theo dõiUrl URL (nên dùng cho thẻ xác nhận/Câu trả lời tìm kiếm) Trang web nơi có thể theo dõi gói hàng.
Phương thức phân phối Cách phân phối Cách sử dụng để phân phối.
Trạng thái phân phối Phân phối sự kiện Mục nhập mới được thêm vào khi gói hàng trải qua từng chặng của hành trình (từ lô hàng đến cuối cùng giao hàng). Đặc biệt hữu ích đối với dịch vụ giao hàng theo hình thức đến lấy hàng (ví dụ: tại cửa hàng, từ tủ khóa).
phần tử đơn đặt hàng Đơn đặt hàng (bắt buộc) Thông tin chi tiết về đơn đặt hàng đang được vận chuyển. Trong trường hợp không thể hiện thông tin chi tiết về Sản phẩm trong lô hàng (ví dụ: số lượng đã vận chuyển), hãy sử dụng Đơn đặt hàng này để thể hiện Sản phẩm.
partOfOrder.orderNumber Văn bản (bắt buộc) Giá trị nhận dạng riêng cho người bán cho giao dịch.
partOfOrder.người bán Tổ chức hoặc Người (bắt buộc) Bên nhận đơn đặt hàng (ví dụ: Amazon.com là người bán của nhiều người bán). Cũng chấp nhận một chuỗi (ví dụ: "Bob Dole").
partOfOrder.merchant.tên Văn bản (bắt buộc) Tên của tổ chức.
partOfOrder.merchant.sameAs URL URL Freebase cho người bán.
partOfOrder.orderStatus Trạng thái đơn đặt hàng (nên dùng cho thẻ xác nhận/Câu trả lời trên Tìm kiếm) Trạng thái hiện tại của đơn đặt hàng.