הזמנה

הזמנה היא אישור של עסקה (קבלה), שיכולה להכיל מספר פריטים, שכל אחד מהם מיוצג על ידי מבצע שהתקבל על ידי הלקוח.

תרחישים לדוגמה

הזמנה בסיסית

דוגמה מינימלית להזמנה

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>

מיקרו נתונים

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

מיקרו נתונים

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

מיקרו נתונים

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

בדיקה של תגי העיצוב

ניתן לאמת את הסימון באמצעות הכלי לבדיקת תגי עיצוב באימייל. מדביקים את קוד הסימון ולוחצים על הלחצן אימות כדי לסרוק את התוכן ולקבל דוח על שגיאות קיימות.

מפרט

בטבלה הבאה מפורטים כל המאפיינים הזמינים לסוג הזה:

מאפיין (property) סוג תיאור
מוכר ארגון או אדם (חובה) הגורם שמבצע את ההזמנה (למשל: Amazon.com הוא מוכר של אתרי מכירה רבים). הוא מקבל גם מחרוזת (למשל "Amazon.com").
merchant.שם טקסט (חובה) שם הארגון.
merchant. AsAs כתובת URL כתובת ה-URL של המוכר עבור Freebase.
מספר הזמנה טקסט (חובה) המזהה הספציפי למוכר עבור העסקה.
מטבע טקסט (חובה) המטבע (בפורמט של 3 אותיות בפורמט ISO 4217) של מחיר ההזמנה.
price מספר או טקסט (חובה) המחיר הכולל של העסקה כולה.
התקבל הצעה מבצע (חובה) המבצעים הכלולים בהזמנה. מקבלת גם מערך של אובייקטים.
AcceptOfferOffer.itemSuggested מוצר או הזמנה (חובה) הפריט שנמכר.
שם הקובץ שהתקבל. טקסט (חובה) שם המוצר.
AcceptedOffer.itemOffered.מק"ט טקסט (מומלץ לכרטיסי אישור/תשובות לחיפוש) היחידה לשמירת מלאי (SKU), כלומר מזהה ספציפי למוכר של מוצר או שירות, או המוצר שאליו המוצר מתייחס.
AcceptedOffer.itemOffered.כתובת ה-URL כתובת URL (מומלץ לכרטיסי אישור/תשובות לחיפוש) של כתובת ה-URL של המוצר, בדרך כלל זהו דף הנחיתה של המוצר באתר של המוכר.
AcceptedOffer.itemOffered.תמונה כתובת URL (מומלץ לכרטיסי אישור/תשובות לחיפוש) כתובת URL של תמונה של המוצר, בדרך כלל תמונה באתר של המוכר.
AcceptedOffer.itemOffered.צבע טקסט צבע המוצר.
מחירים שהתקבלו. מספר או טקסט (חובה) מחיר היחידה של המוצר.
מחירים שהתקבלו.priceCurrency טקסט (חובה) המטבע (בפורמט ISO 4217 של 3 אותיות).
AcceptedOffer.כשירות ערך כמותי (חובה) מרווח ויחידת המידה של הכמויות בהזמנה שמפרט המבצע או מפרט המחיר שלהן חוקיים.
AcceptedOffer.eligibilityQuantity.value מספר (חובה) הערך של מאפיין המוצר.
מחירים קבילים.priceSpecification מפרט מחיר מפרטים אחד או יותר של מחיר, המציינים את מחיר היחידה ואת החיובים עבור משלוח או תשלום.
AcceptedOffer.priceSpecification.מחיר מספר או טקסט המחיר הכולל של העסקה כולה.
AcceptedOffer.priceSpecification.priceCurrency טקסט המטבע (בפורמט ISO 4217 של 3 אותיות) של מחיר ההזמנה.
AcceptedOffer.itemCondition OfferItemCondition תיאור טקסטואלי של מצב המוצר או השירות, או המוצרים או השירותים הכלולים במבצע.
AcceptOffer.seller ארגון או אדם הגורם שבאמצעותו בוצעה ההזמנה. הוא מקבל גם מחרוזת (למשל "").
nameedsuggest.seller.שם טקסט שם הארגון.
מפרט מחיר מפרט מחיר (מומלץ לכרטיסי אישור או תשובות לחיפוש) חלופות מפורטות יותר למחיר/מחיר. משמש גם לציון חיובי מס ומסירה. מקבלת גם מערך של אובייקטים.
כתובת אתר כתובת URL (מומלץ לכרטיסי אישור/תשובות לחיפוש) כתובת ה-URL של ההזמנה, שהיא בדרך כלל קישור לאתר של המוכר, שבו המשתמש יכול לאחזר פרטים נוספים על ההזמנה.
סטטוס הזמנה סטטוס הזמנה (מומלץ לכרטיסי אישור/תשובות לחיפוש) הסטטוס הנוכחי של ההזמנה.
אמצעי התשלום PaymentMethod השם של כרטיס האשראי או אמצעי תשלום אחר על ההזמנה.
תשלוםMethodId טקסט מזהה של אמצעי התשלום שבו נעשה שימוש (למשל, 4 הספרות האחרונות של כרטיס האשראי).
תאריך הזמנה תאריך ושעה תאריך ההזמנה.
IsGift Boolean האם המבצע התקבל כמתנה למישהו שאינו הקונה?
discount מספר או טקסט כל הנחה שמומשה.
המטבע של המטבע טקסט המטבע (בפורמט ISO 4217 של 3 אותיות) של ההנחה.
לקוח אדם או ארגון הגורם שמבצע את ההזמנה.
customer.שם טקסט שם האדם.
BillingAddress מיקוד הכתובת לחיוב של ההזמנה.
billingAddress. טקסט שם הכתובת.
billingAddress.streetAddress טקסט הרחוב. לדוגמה, 1600 Amphitheatre Pkwy.
billingAddress.addressLocality טקסט הרשות המוניציפאלית. לדוגמה, מאונטיין וויו.
billingAddress.addressRegion טקסט האזור. לדוגמה, קליפורניה.
billingAddress.addressCountry טקסט או מדינה המדינה. לדוגמה, ארה"ב. אפשר גם לספק קוד מדינה בן שתי אותיות על פי תקן ISO 3166-1 alpha-2.