AlmondTill/G3N API

EditOrderInput

input type

Edit-input for a Order. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved. Live-edit-state only: a sale edits while open (held is parked — resume first; post-place content is frozen, the amendment window a strict-OFF hook); a draft/quote edits while draft OR sent. A supplied lines array replaces wholesale and re-runs the full price capture at the edit instant.

Fields

FieldTypeRequiredNotes
captionStringno
customerOrderCustomerInputnoThe inline customer capture — at least one inline field OR a customer ref.
exemptionCertificateIdIDno
discountsOrderDiscountInput [OrderDiscountInput!]noOne pre-tax discount entry — amountMinor ⟺ kind amount, percentPpm ⟺ kind percent; reason required.
validUntilStringnoRe-set the draft/quote validity window.
termEndsAtStringnoRe-set the layaway term end. A termEndsAt-ONLY edit stays legal while placed|accruing (the term is schedule, not content).
linesOrderLineInput [OrderLineInput!]noThe wholesale line replacement (live-edit-state only) — same shape + refinements as create; MAY be emptied (a cleared cart).

Used by