Appearance
DispatchShipmentItemInput
Type: Input
One line on a package's packing list. It may reference a job, a component and/or an order line; all three links are optional, so an item can be free-text only.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| componentId | ComponentID | TypeID (cmp_…) of the component being shipped. Optional; used when the shipped unit is finer-grained than a whole job. | |
| description | String | Free-text description of the item as it should read on the packing list. Optional; typically used when no job/component/order-line link exists. | |
| jobId | JobID | TypeID (job_…) of the job whose output is being shipped in this package. Optional — items may instead reference a component or order line, or be described in free text only. | |
| orderLineId | OrderLineID | TypeID (oln_…) of the order line this item fulfils. Optional; links the physical item back to what the customer ordered. | |
| quantity | Int! | Number of units of this item in the package. Must be greater than zero — otherwise the mutation returns a field error and persists nothing. |