CreatePurchaseOrderInput
input type
Create-input for createPurchaseOrder.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — 'purchase order <N> line(s)'; when supplied it must be non-blank. |
orgVendorId | ID ID! | yes | Its purchasingCurrency snapshots as the PO currency. |
paymentTerms | String | no | Optional canned payment terms (registry tokens, e.g. net-30) — omitted ⇒ the OrgVendor's. |
incotermCode | String | no | Optional canned Incoterms 2020 rule — omitted ⇒ the OrgVendor's. |
vendorReference | String | no | Optional vendor-side order/quote reference (max 64). |
notes | String | no | Optional free-text notes (max 4096). |
lines | PurchaseOrderLineInput [PurchaseOrderLineInput!]! | yes | The lines. |