Order item
The order item entity represents an individual line item within an order. Each order item references a catalog item and records the quantity, pricing, and status for that specific line.
| Field | Type | Description |
|---|---|---|
key |
String | Unique key for the order item. |
code |
String | Code identifier for the order item (e.g., "T-12003517"). |
status |
String | Status of the order item. Values: "pending", "partial", "complete". |
catalogKey |
String | Key referencing the associated Catalog item. |
quantity |
Number | Quantity of the item ordered. |
unitPrice |
Number | Unit price of the item. |
total |
Number | Total price for the item (quantity multiplied by unit price). |
cost |
Number | Cost of the item. |
description |
String | Description of the order item. |
custom |
Object | Custom metadata for the order item. |
questions |
Array of Question | Questions answered for this item. |
createdAt |
DateTime | Date when the order item was created. |
modifiedAt |
DateTime | Date when the order item was last modified. |