AlmondTill/G3N API

NewOrgVendorInput

input type

Create-input for an OrgVendor. The tenant (org group) is derived SERVER-SIDE from the principal; organizationId (the parent org) and vendorId are tenant-scoped server-side and must be active (STRICT), as are the shipTo/billTo/returnsTo pointers when supplied. 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.
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.
defaultShipToLogicalFacilityIdIDnoNo further notes.
billToContactIdIDnoNo further notes.
returnsToContactIdIDnoNo further notes.
orderMinimumMoneyEntryInputnoRequires purchasingCurrency in the same payload, with a matching currency.
freeFreightThresholdMoneyEntryInputnoRequires purchasingCurrency in the same payload, with a matching currency.
requireCatalogItemBooleannoDefaulted FALSE when omitted.
codeStringnoNo further notes.

Used by