AlmondTill/G3N API

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

FieldTypeRequiredNotes
captionStringnoNo further notes.
codeStringnoNo further notes.
accountNumberStringnoNo further notes.
termsStringnoNo further notes.
purchasingCurrencyStringnoNo further notes.
paymentTermsStringnoThe canned payment-terms token (net-30 · 2-10-net-30 · cod · prepaid).
incotermCodeStringnoThe canned Incoterms-2020 code (EXW · FCA · CPT · CIP · DAP · DPU · DDP · FAS · FOB · CFR · CIF).
leadTimeDaysIntnoNo further notes.
defaultShipToLogicalFacilityIdIDnoSupply a LogicalFacility id to re-point (ACTIVE + owned by the buying org), or EXPLICIT null to CLEAR the default.
billToContactIdIDnoSupply a Contact id to re-point (ACTIVE-gated), or EXPLICIT null to CLEAR it.
returnsToContactIdIDnoSupply a Contact id to re-point (ACTIVE-gated), or EXPLICIT null to CLEAR it.
orderMinimumMoneyEntryInputnoNo further notes.
freeFreightThresholdMoneyEntryInputnoNo further notes.
requireCatalogItemBooleannoNo further notes.

Used by