AlmondTill/G3N API

NewOrgVendorInput

input type

Create-input for an OrgVendor. Every commercial field is optional (the enablement stays creatable thin); orderMinimum/freeFreightThreshold require purchasingCurrency in the same payload with a matching currency; requireCatalogItem is stamped false when omitted.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the merchant code when given, else 'Org Vendor'; when supplied it must be non-blank.
organizationIdID ID!yesThe parent Organization id — rides the header.
vendorIdID ID!yesThe group Vendor this enablement names — immutable after birth.
accountNumberStringno
termsStringno
purchasingCurrencyStringnoA platform-registry code inside the organization's allowed set.
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).
leadTimeDaysIntno
defaultShipToLogicalFacilityIdIDno
billToContactIdIDno
returnsToContactIdIDno
orderMinimumMoneyEntryInputnoRequires purchasingCurrency in the same payload, with a matching currency.
freeFreightThresholdMoneyEntryInputnoRequires purchasingCurrency in the same payload, with a matching currency.
requireCatalogItemBooleannoDefaulted false when omitted.
codeStringno

Used by