OrderLine
Type: Object
Represents a single line item within a customer order, detailing a specific product to be manufactured or service to be rendered. While an 'Order' contains general information, the 'Order Line' holds the specifics: the product being ordered, the quantity, the price per unit, and its current status in the production and fulfillment lifecycle (e.g., 'pending', 'in_production', 'shipped'). This granular level of detail is essential for driving the factory floor, as each order line translates directly into a production job. It allows for precise tracking of each component of an order as it moves from manufacturing to delivery.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| createdAt | DateTime! | |||
| description | String | A detailed description of the product or service this line represents | ||
| discountAmount | Money! | The discount amount applied to this line | ||
| estimate | Estimate | The estimate this line belongs to | ||
| estimateId | ID | |||
| id | ID! | |||
| job | Job | The job this line belongs to | ||
| jobId | ID | |||
| lineNumber | Int! | |||
| lineTotal | Money! | The total cost of this line, calculated as the unit price multiplied by the quantity | ||
| maxDeliverableQuantity | Int | Often a customer will accept delivery of more or less than the target amount, depending on efficiency of production. This is the largest amount that can be delivered. | ||
| minDeliverableQuantity | Int | Often a customer will accept delivery of more or less than the target amount, depending on efficiency of production. This is the smallest amount that can be delivered. | ||
| order | Order! | The order this line belongs to | ||
| orderId | ID! | |||
| productName | String! | A descriptive name for the product or service this line represents | ||
| productSku | String | A unique identifier for the product or service this line represents | ||
| proofApproved | Boolean | |||
| proofApprovedAt | DateTime | |||
| proofRequired | OrderLineProofRequiredEnum | Whether proof is required for this line | ||
| quantity | Int! | |||
| shippingAmount | Money! | The shipping amount applied to this line | ||
| shippingInstructions | [OrderLineShippingInstruction!]! | filter: OrderLineShippingInstructionFilterInputlimit: Intoffset: Intsort: [OrderLineShippingInstructionSortInput] | The shipping instructions associated with this line. If they are provided, these should supercede any set at order-level. | |
| state | OrderLineStateEnum! | The status of this line | ||
| taxAmount | Money! | The tax amount applied to this line | ||
| taxRate | Decimal | The tax rate applied to this line | ||
| unitPrice | Money! | The price per unit of the product or service this line represents | ||
| updatedAt | DateTime! |