# UpdatePurchaseOrderLineInput

input type

Replace-input for updatePurchaseOrderLine.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `purchaseOrderId` | [ID](/types/#scalars) `ID!` | yes | The PurchaseOrder edited — tenant-scoped + DRAFT. |
| `lineNo` | [Int](/types/#scalars) `Int!` | yes | The line addressed by its stored lineNo (1..1000); a number with no live row refuses VALIDATION/INVALID naming it (removed numbers are never re-used, so the address is unambiguous forever). |
| `line` | [PurchaseOrderLineInput](/types/PurchaseOrderLineInput/) `PurchaseOrderLineInput!` | yes | The replacement line — the same shape, defaults and gates as create; its lineNo is KEPT (the address does not move). |

## Used by

- [updatePurchaseOrderLine](/reference/purchasing/updatePurchaseOrderLine/)
