Appearance
OrderLineState
Type: Object
A line item within an order
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| attachments | [OrderLineFileAttachment!]! | File attachments paired to product-template component slots. Requires file:list permission. | ||
| createdAt | String! | Creation timestamp (ISO8601) | ||
| currency | CurrencyISO! | Currency code | ||
| description | String | Line item description | ||
| discountAmount | Float | Discount amount | ||
| discountPercent | Float | Discount percentage | ||
| estimateLineId | EstimateLineID | Linked estimate line ID | ||
| groupKey | String | Groups related order lines for bundled products | ||
| id | OrderLineID! | Unique identifier | ||
| job | JobState | Linked job. Requires job:read permission. | ||
| jobId | JobID | Linked job ID | ||
| lineNumber | Int! | Line number within the order | ||
| lineTotal | Float! | Line total amount | ||
| notes | String | Optional notes | ||
| order | OrderState | Parent order. Requires order:read permission. | ||
| orderId | OrderID! | Parent order ID | ||
| product | ProductState | Product. Requires product:read permission. | ||
| productId | ProductID | Product ID | ||
| productName | String! | Product name | ||
| productSku | String | Product SKU | ||
| productTemplateId | ProductTemplateID | Product template used to configure this order line | ||
| productTemplateVersion | Int | Published template version frozen at order time | ||
| quantity | Int! | Quantity ordered | ||
| sortOrder | Int! | Sort order for display | ||
| taxRate | Float | Tax rate percentage | ||
| templateConfig | JSON | Customer configuration selections from template configSchema | ||
| tenantId | TenantID! | Tenant ID | ||
| unitPrice | Float! | Unit price | ||
| updatedAt | String! | Last update timestamp (ISO8601) |