OrderItem¶
An OrderItem is one line of an Order: orderedItem points to the Product, ProductGroup, ProductModel, Service or Event ordered, orderQuantity is how many, and orderItemStatus the line's OrderStatus, such as OrderInTransit. orderItemNumber names the line, for a ParcelDelivery's itemShipped. A line has no price of its own: it is the accepted Offer's.
Modeled on schema.org/OrderItem ยท JSON Schema
Example¶
{
"orderItemNumber": "1",
"orderQuantity": 2,
"orderItemStatus": "https://schema.org/OrderInTransit",
"orderedItem": {
"at_id": "https://apis.objectsgrid.com/products/2b5f8f0e-1d0c-4d61-9a7e-5a1f0c3e9d21"
}
}
Fields¶
Required: orderedItem.
| Field | Type | Required | Description |
|---|---|---|---|
at_type |
OrderItem |
JSON-LD @type, the object's type name. |
|
orderItemNumber |
string | The identifier of the line, unique within the Order; a ParcelDelivery's itemShipped names it | |
orderQuantity |
number | The number of the item ordered; 1 when not given | |
orderItemStatus |
OrderStatus | The current status of the line, e.g. OrderInTransit, OrderDelivered | |
orderedItem |
Reference to Product or ProductGroup or ProductModel or Service or Event | Yes | The item ordered |