# EditOrgVendorInput

input type

Edit-input for a OrgVendor. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved — EXCEPT the three pointer fields (defaultShipToLogicalFacilityId/billToContactId/returnsToContactId), which additionally accept an EXPLICIT null to CLEAR. vendorId is NOT editable (immutable at birth, the enablement IS the (org × vendor) edge; re-pointing = recreate), nor is the parent-org ref (the header). The FULL commercial payload is editable; supplied non-null pointers re-gate at each set; a supplied money field must match a purchasingCurrency supplied in the SAME edit, and gates against the STORED currency server-side otherwise.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | No further notes. |
| `code` | [String](/types/#scalars) | no | No further notes. |
| `accountNumber` | [String](/types/#scalars) | no | No further notes. |
| `terms` | [String](/types/#scalars) | no | No further notes. |
| `purchasingCurrency` | [String](/types/#scalars) | no | No further notes. |
| `paymentTerms` | [String](/types/#scalars) | no | The canned payment-terms token (net-30 · 2-10-net-30 · cod · prepaid). |
| `incotermCode` | [String](/types/#scalars) | no | The canned Incoterms-2020 code (EXW · FCA · CPT · CIP · DAP · DPU · DDP · FAS · FOB · CFR · CIF). |
| `leadTimeDays` | [Int](/types/#scalars) | no | No further notes. |
| `defaultShipToLogicalFacilityId` | [ID](/types/#scalars) | no | Supply a LogicalFacility id to re-point (ACTIVE + owned by the buying org), or EXPLICIT null to CLEAR the default. |
| `billToContactId` | [ID](/types/#scalars) | no | Supply a Contact id to re-point (ACTIVE-gated), or EXPLICIT null to CLEAR it. |
| `returnsToContactId` | [ID](/types/#scalars) | no | Supply a Contact id to re-point (ACTIVE-gated), or EXPLICIT null to CLEAR it. |
| `orderMinimum` | [MoneyEntryInput](/types/MoneyEntryInput/) | no | No further notes. |
| `freeFreightThreshold` | [MoneyEntryInput](/types/MoneyEntryInput/) | no | No further notes. |
| `requireCatalogItem` | [Boolean](/types/#scalars) | no | No further notes. |

## Used by

- [updateOrgVendor](/reference/org-vendor/updateOrgVendor/)
