AlmondTill/G3N API

NewFulfillmentInput

input type

Create-input for a Fulfillment. The org (ACTIVE) + the order (same-group, placed, orderType sale) are gated live; the fulfilling LF is the ORDER’s OWN LF (derived server-side — ship-from-other-store is the named Transfer-composition deferral); each line’s captured method must be lane-compatible and its quantity within the unclaimed remainder; the create transaction stamps the Order’s fulfillmentClaimedQty rollups under the Order’s OCC.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the method + order coordinate (ship fulfillment of SO-… 2 lines); when supplied it must be non-blank.
orderIdID ID!yesThe Order being fulfilled — same-group; placed + sale (CONFLICT/REF_STATE else).
methodFulfillmentMethod FulfillmentMethod!yesThe delivery lane (ship | pickup_curbside | pickup_instore).
shipToFulfillmentShipToInputnoThe inline ship-to (method=ship only — may also arrive at ship; strict both ways).
linesFulfillmentLineInput [FulfillmentLineInput!]!yesThe claimed lines (1..45, distinct orderLineNos).

Used by