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 (no clearing semantic). 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
captionStringnoNo further notes.
customerOrderCustomerInputnoNo further notes.
exemptionCertificateIdIDnoNo further notes.
discountsOrderDiscountInput [OrderDiscountInput!]noNo further notes.
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