คำสั่งซื้อคือการยืนยันธุรกรรม (ใบเสร็จ) ซึ่งมีรายการโฆษณาได้หลายรายการ โดยแต่ละรายการจะแสดงโดยข้อเสนอพิเศษที่ลูกค้ายอมรับ
กรณีการใช้งาน
คำสั่งซื้อพื้นฐาน
ตัวอย่างขั้นต่ำสำหรับการสั่งซื้อ
JSON-LD
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Order",
  "merchant": {
    "@type": "Organization",
    "name": "Amazon.com"
  },
  "orderNumber": "123-4567890-1234567",
  "priceCurrency": "USD",
  "price": "29.99",
  "acceptedOffer": {
    "@type": "Offer",
    "itemOffered": {
      "@type": "Product",
      "name": "Google Chromecast"
    },
    "price": "29.99",
    "priceCurrency": "USD",
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "value": "1"
    }
  }
}
</script>
Microdata
<div itemscope itemtype="http://schema.org/Order">
  <div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="Amazon.com"/>
  </div>
  <meta itemprop="orderNumber" content="123-4567890-1234567"/>
  <meta itemprop="priceCurrency" content="USD"/>
  <meta itemprop="price" content="29.99"/>
  <div itemprop="acceptedOffer" itemscope itemtype="http://schema.org/Offer">
    <div itemprop="itemOffered" itemscope itemtype="http://schema.org/Product">
      <meta itemprop="name" content="Google Chromecast"/>
    </div>
    <meta itemprop="price" content="29.99"/>
    <meta itemprop="priceCurrency" content="USD"/>
    <div itemprop="eligibleQuantity" itemscope itemtype="http://schema.org/QuantitativeValue">
      <meta itemprop="value" content="1"/>
    </div>
  </div>
</div>
ดูการดำเนินการตามคำสั่งซื้อ
คุณสามารถเพิ่มปุ่ม View Order ลงในคำสั่งซื้อได้โดยการตั้งค่าพร็อพเพอร์ตี้ url หากต้องการลิงก์กับแอปพลิเคชันบนอุปกรณ์เคลื่อนที่โดยตรง ให้เพิ่ม ViewAction ด้วย:
JSON-LD
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Order",
  "merchant": {
    "@type": "Organization",
    "name": "Amazon.com"
  },
  "orderNumber": "123-4567890-1234567",
  "orderStatus": "http://schema.org/OrderProcessing",
  "priceCurrency": "USD",
  "price": "29.99",
  "priceSpecification": {
    "@type": "PriceSpecification",
    "validFrom": "2027-12-07T23:30:00-08:00"
  },
  "acceptedOffer": {
    "@type": "Offer",
    "itemOffered": {
      "@type": "Product",
      "name": "Google Chromecast",
      "sku": "B00DR0PDNE",
      "url": "http://www.amazon.com/Google-Chromecast-Streaming-Media-Player/dp/B00DR0PDNE/",
      "image": "http://ecx.images-amazon.com/images/I/811nvG%2BLgML._SY550_.jpg"
    },
    "price": "29.99",
    "priceCurrency": "USD",
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "value": "1"
    }
  },
  "url": "https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567",
  "potentialAction": {
    "@type": "ViewAction",
    "url": "https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567"
  }
}
</script>
Microdata
<div itemscope itemtype="http://schema.org/Order">
  <div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="Amazon.com"/>
  </div>
  <link itemprop="orderStatus" href="http://schema.org/OrderProcessing"/>
  <meta itemprop="orderNumber" content="123-4567890-1234567"/>
  <meta itemprop="priceCurrency" content="USD"/>
  <meta itemprop="price" content="29.99"/>
  <div itemprop="acceptedOffer" itemscope itemtype="http://schema.org/Offer">
    <div itemprop="itemOffered" itemscope itemtype="http://schema.org/Product">
      <meta itemprop="name" content="Google Chromecast"/>
      <link itemprop="url" href="http://www.amazon.com/Google-Chromecast-Streaming-Media-Player/dp/B00DR0PDNE/"/>
      <link itemprop="image" href="http://ecx.images-amazon.com/images/I/811nvG%2BLgML._SY550_.jpg"/>
      <meta itemprop="sku" content="B00DR0PDNE"/>
    </div>
    <meta itemprop="price" content="29.99"/>
    <meta itemprop="priceCurrency" content="USD"/>
    <div itemprop="eligibleQuantity" itemscope itemtype="http://schema.org/QuantitativeValue">
      <meta itemprop="value" content="1"/>
    </div>
  </div>
  <link itemprop="url" href="https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567"/>
  </div>
  <div itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
    <meta itemprop="validFrom" content="2027-12-07T23:30:00-08:00"/>
  </div>
</div>
คำสั่งซื้อที่มีรายละเอียดสำหรับการเรียกเก็บเงิน
ตัวอย่างคำสั่งซื้อที่มีข้อมูลสำหรับการเรียกเก็บเงินโดยละเอียด
JSON-LD
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Order",
  "merchant": {
    "@type": "Organization",
    "name": "Amazon.com"
  },
  "orderNumber": "123-4567890-1234567",
  "priceCurrency": "USD",
  "price": "539.00",
  "priceSpecification": {
    "@type": "PriceSpecification",
    "validFrom": "2027-12-07T23:30:00-08:00"
  },
  "acceptedOffer": [
    {
      "@type": "Offer",
      "itemOffered": {
        "@type": "Product",
        "name": "Samsung Chromebook",
        "sku": "B009LL9VDG",
        "url": "http://www.amazon.com/Samsung-XE303C12-A01US-Chromebook-Wi-Fi-11-6-Inch/dp/B009LL9VDG/",
        "image": "http://ecx.images-amazon.com/images/I/81H-DO3qX0L._SX522_.jpg"
      },
      "price": "249.99",
      "priceCurrency": "USD",
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "value": "2"
      },
      "seller": {
        "@type": "Organization",
        "name": "Samsung Marketplace Store"
      }
    },
    {
      "@type": "Offer",
      "itemOffered": {
        "@type": "Product",
        "name": "Google Chromecast",
        "sku": "B00DR0PDNE",
        "url": "http://www.amazon.com/Google-Chromecast-Streaming-Media-Player/dp/B00DR0PDNE/",
        "image": "http://ecx.images-amazon.com/images/I/811nvG%2BLgML._SY550_.jpg"
      },
      "price": "29.99",
      "priceCurrency": "USD",
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "value": "1"
      },
      "seller": {
        "@type": "Organization",
        "name": "Google Store @ Amazon"
      }
    }
  ],
  "url": "https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567",
  "potentialAction": {
    "@type": "ViewAction",
    "url": "https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567"
  },
  "orderStatus": "http://schema.org/OrderProcessing",
  "paymentMethod": {
    "@type": "PaymentMethod",
    "name": "http://schema.org/CreditCard"
  },
  "paymentMethodId": "**** **** **** 1234",
  "orderDate": "2027-11-07T23:30:00-08:00",
  "isGift": "false",
  "discount": "0.97",
  "discountCurrency": "USD",
  "customer": {
    "@type": "Person",
    "name": "John Smith"
  },
  "billingAddress": {
    "@type": "PostalAddress",
    "name": "Google",
    "streetAddress": "1600 Amphitheatre Pkwy",
    "addressLocality": "Mountain View",
    "addressRegion": "CA",
    "addressCountry": "USA"
  }
}
</script>
Microdata
<div itemscope itemtype="http://schema.org/Order">
  <div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="Amazon.com"/>
  </div>
  <meta itemprop="orderNumber" content="123-4567890-1234567"/>
  <meta itemprop="priceCurrency" content="USD"/>
  <meta itemprop="price" content="539.00"/>
  <div itemprop="acceptedOffer" itemscope itemtype="http://schema.org/Offer">
    <div itemprop="itemOffered" itemscope itemtype="http://schema.org/Product">
      <meta itemprop="name" content="Samsung Chromebook"/>
      <meta itemprop="sku" content="B009LL9VDG"/>
      <link itemprop="url" href="http://www.amazon.com/Samsung-XE303C12-A01US-Chromebook-Wi-Fi-11-6-Inch/dp/B009LL9VDG/"/>
      <link itemprop="image" href="http://ecx.images-amazon.com/images/I/81H-DO3qX0L._SX522_.jpg"/>
    </div>
    <meta itemprop="price" content="249.99"/>
    <meta itemprop="priceCurrency" content="USD"/>
    <div itemprop="eligibleQuantity" itemscope itemtype="http://schema.org/QuantitativeValue">
      <meta itemprop="value" content="2"/>
    </div>
    <div itemprop="seller" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Samsung Marketplace Store"/>
    </div>
  </div>
  <div itemprop="acceptedOffer" itemscope itemtype="http://schema.org/Offer">
    <div itemprop="itemOffered" itemscope itemtype="http://schema.org/Product">
      <meta itemprop="name" content="Google Chromecast"/>
      <meta itemprop="sku" content="B00DR0PDNE"/>
      <link itemprop="url" href="http://www.amazon.com/Google-Chromecast-Streaming-Media-Player/dp/B00DR0PDNE/"/>
      <link itemprop="image" href="http://ecx.images-amazon.com/images/I/811nvG%2BLgML._SY550_.jpg"/>
    </div>
    <meta itemprop="price" content="29.99"/>
    <meta itemprop="priceCurrency" content="USD"/>
    <div itemprop="eligibleQuantity" itemscope itemtype="http://schema.org/QuantitativeValue">
      <meta itemprop="value" content="1"/>
    </div>
    <div itemprop="seller" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Google Store @ Amazon"/>
    </div>
  </div>
  <link itemprop="url" href="https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567"/>
  </div>
  <link itemprop="orderStatus" href="http://schema.org/OrderProcessing"/>
  <div itemprop="paymentMethod" itemscope itemtype="http://schema.org/PaymentMethod">
    <meta itemprop="name" content="http://schema.org/CreditCard"/>
  </div>
  <meta itemprop="paymentMethodId" content="**** **** **** 1234"/>
  <meta itemprop="orderDate" content="2027-11-07T23:30:00-08:00"/>
  <meta itemprop="isGift" content="false"/>
  <meta itemprop="discount" content="0.97"/>
  <meta itemprop="discountCurrency" content="USD"/>
  <div itemprop="customer" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="John Smith"/>
  </div>
  <div itemprop="billingAddress" itemscope itemtype="http://schema.org/PostalAddress">
    <meta itemprop="name" content="Google"/>
    <meta itemprop="streetAddress" content="1600 Amphitheatre Pkwy"/>
    <meta itemprop="addressLocality" content="Mountain View"/>
    <meta itemprop="addressRegion" content="CA"/>
    <meta itemprop="addressCountry" content="USA"/>
  </div>
  <div itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
    <meta itemprop="validFrom" content="2027-12-07T23:30:00-08:00"/>
  </div>
</div>
ทดสอบมาร์กอัปของคุณ
คุณสามารถตรวจสอบมาร์กอัปโดยใช้เครื่องมือทดสอบอีเมลมาร์กอัป วางโค้ดมาร์กอัปแล้วคลิกปุ่มตรวจสอบความถูกต้องเพื่อสแกนเนื้อหาและรับรายงานเกี่ยวกับข้อผิดพลาดที่เกิดขึ้น
ข้อมูลจำเพาะ
ตารางต่อไปนี้แสดงที่พักทั้งหมดที่ใช้ได้กับประเภทนี้
| พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย | 
|---|---|---|
| ผู้ขาย | Organization หรือ Person | (ต้องระบุ) ผู้ที่รับคำสั่งซื้อ (เช่น Amazon.com เป็นผู้ขายสำหรับผู้ขายหลายราย) ยอมรับสตริง (เช่น "Amazon.com") ด้วย | 
| merchant.name | ข้อความ | (ต้องระบุ) ชื่อขององค์กร | 
| merchant.sameAs | URL | URL ของ Freebase สำหรับผู้ขาย | 
| orderNumber | ข้อความ | (ต้องระบุ) ตัวระบุเฉพาะผู้ขายสำหรับธุรกรรม | 
| priceCurrency | ข้อความ | (ต้องระบุ) สกุลเงิน (ในรูปแบบ ISO 4217 แบบ 3 อักขระ) ของราคาคำสั่งซื้อ | 
| ราคา | ตัวเลขหรือข้อความ | (ต้องระบุ) ราคารวมของธุรกรรมทั้งหมด | 
| acceptedOffer | ข้อเสนอ | (ต้องระบุ) ข้อเสนอที่รวมอยู่ในคำสั่งซื้อ และยอมรับอาร์เรย์ของวัตถุ | 
| acceptedOffer.itemOffered | ผลิตภัณฑ์หรือการจอง | (ต้องระบุ) สินค้าที่ขาย | 
| acceptedOffer.itemOffered.name | ข้อความ | (ต้องระบุ) ชื่อผลิตภัณฑ์ | 
| acceptedOffer.itemOffered.sku | ข้อความ | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) สต็อกคีปปิ้งยูนิต (SKU) ซึ่งก็คือตัวระบุเฉพาะผู้ขายสำหรับผลิตภัณฑ์หรือบริการ หรือผลิตภัณฑ์ที่กล่าวถึงข้อเสนอ | 
| acceptedOffer.itemOffered.url | URL | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) URL ของผลิตภัณฑ์ โดยทั่วไปจะเป็นหน้า Landing Page ของผลิตภัณฑ์บนเว็บไซต์ของผู้ขาย | 
| acceptedOffer.itemOffered.image | URL | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) URL ของรูปภาพผลิตภัณฑ์ ซึ่งโดยทั่วไปแล้วจะเป็นรูปภาพบนเว็บไซต์ของผู้ขาย | 
| acceptedOffer.itemOffered.color | ข้อความ | สีของผลิตภัณฑ์ | 
| acceptedOffer.price | ตัวเลขหรือข้อความ | (ต้องระบุ) ราคาต่อหน่วยสำหรับผลิตภัณฑ์ | 
| acceptedOffer.priceCurrency | ข้อความ | (ต้องระบุ) สกุลเงิน (ในรูปแบบ ISO 4217 แบบ 3 อักขระ) ของราคา | 
| acceptedOffer.eligibleQuantity | QuantitativeValue | (ต้องระบุ) ช่วงเวลาและหน่วยวัดของจำนวนการสั่งซื้อที่ข้อเสนอหรือข้อกำหนดราคาถูกต้อง | 
| acceptedOffer.eligibleQuantity.value | ตัวเลข | (ต้องระบุ) ค่าของลักษณะเฉพาะของผลิตภัณฑ์ | 
| acceptedOffer.priceSpecification | PriceSpecification | ข้อกำหนดราคาโดยละเอียดอย่างน้อย 1 รายการ ซึ่งระบุราคาต่อหน่วยและค่าจัดส่งหรือค่าบริการ | 
| acceptedOffer.priceSpecification.price | ตัวเลขหรือข้อความ | ราคารวมของธุรกรรมทั้งหมด | 
| acceptedOffer.priceSpecification.priceCurrency | ข้อความ | สกุลเงิน (ในรูปแบบ ISO 4217 แบบ 3 อักขระ) ของราคาคำสั่งซื้อ | 
| acceptedOffer.itemCondition | OfferItemCondition | ข้อความอธิบายสภาพของผลิตภัณฑ์หรือบริการ หรือผลิตภัณฑ์หรือบริการที่รวมอยู่ในข้อเสนอ | 
| acceptedOffer.seller | Organization หรือ Person | ฝ่ายที่มีการออกคำสั่งด้วย และยังยอมรับสตริง (เช่น "") ด้วย | 
| acceptedOffer.seller.name | ข้อความ | ชื่อองค์กร | 
| priceSpecification | PriceSpecification | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) ทางเลือกที่มีรายละเอียดเพิ่มเติมนอกเหนือจากราคา/priceCurrency นอกจากนี้ยังใช้เพื่อระบุภาษีและค่าจัดส่งด้วย และยอมรับอาร์เรย์ของวัตถุ | 
| URL | URL | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) URL ของคำสั่งซื้อ โดยทั่วไปจะเป็นลิงก์ไปยังเว็บไซต์ของผู้ขายที่ผู้ใช้สามารถดูรายละเอียดเพิ่มเติมเกี่ยวกับคำสั่งซื้อได้ | 
| orderStatus | OrderStatus | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) สถานะปัจจุบันของคำสั่งซื้อ | 
| paymentMethod | PaymentMethod | ชื่อบัตรเครดิตหรือวิธีการชำระเงินอื่นๆ สำหรับคำสั่งซื้อ | 
| paymentMethodId | ข้อความ | ตัวระบุวิธีการชำระเงินที่ใช้ (เช่น ตัวเลข 4 หลักสุดท้ายของบัตรเครดิต) | 
| orderDate | DateTime | วันที่สั่งซื้อ | 
| isGift | บูลีน | ข้อเสนอได้รับการยอมรับเป็นของขวัญสำหรับบุคคลอื่นที่ไม่ใช่ผู้ซื้อหรือไม่ | 
| ส่วนลด | ตัวเลขหรือข้อความ | ส่วนลดที่ใช้ | 
| discountCurrency | ข้อความ | สกุลเงิน (ในรูปแบบ ISO 4217 ที่เป็นตัวอักษร 3 ตัว) ของส่วนลด | 
| ลูกค้า | Person หรือ Organization | ผู้ที่สั่งอาหาร | 
| customer.name | ข้อความ | ชื่อบุคคล | 
| billingAddress | PostalAddress | ที่อยู่สำหรับการเรียกเก็บเงินสำหรับคำสั่งซื้อ | 
| billingAddress.name | ข้อความ | ชื่อของ PostalAddress | 
| billingAddress.streetAddress | ข้อความ | ที่อยู่ เช่น 123 ถนนสุขุมวิท | 
| billingAddress.addressLocality | ข้อความ | ย่าน เช่น Mountain View | 
| billingAddress.addressRegion | ข้อความ | ภูมิภาค เช่น CA | 
| billingAddress.addressCountry | ข้อความหรือประเทศ | ประเทศ เช่น สหรัฐอเมริกา หรือจะระบุรหัสประเทศแบบ ISO 3166-1 alpha-2 แบบ 2 ตัวอักษรก็ได้ |