NewOrgVendorItemInput
input type
Create-input for an OrgVendorItem.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the vendor's part number when given, else 'Org Vendor Item'; when supplied it must be non-blank. |
orgVendorId | ID ID! | yes | The owning OrgVendor id. |
variantId | ID ID! | yes | The Variant this vendor supplies — immutable after birth. |
vendorPartNumber | String | no | |
listCost | MoneyEntryInput | no | The vendor's list cost — the currency must match the parent OrgVendor's purchasingCurrency; the cost per pack when purchasePackId is supplied. |
moq | Int | no | |
leadTimeDays | Int | no | |
purchasePackId | ID | no | The vendor PurchasePack denomination — tenant + active + must package variantId. |