Skip to content

items

Semantics

Identifies the collection of line items belonging to one order.

The line items are embedded in the collection under the orderItems relation, and the collection links back to its order with the order relation. The collection is not paged.

Each item is its own resource with a self link, and a stable position within the order. The quantity and unit price of an item are recorded when the order is placed, so they do not change when the product does.

  • orderItems — the embedded line items.
  • order — the order the items belong to.
  • product — the product of a line item.