AlmondTill/G3N API

ReorderOrderInput

input type

Reorder-input for reorderOrder: the sale-profile non-doomed source + optional context overrides.

Fields

FieldTypeRequiredNotes
orderIdID ID!yesThe source Order (tenant-scoped): sale-profile only (a draft/quote converts via accept; other profiles refuse VALIDATION/UNSUPPORTED) + non-doomed (cancelled/voided/abandoned refuse CONFLICT/REF_STATE naming the state).
organizationIdIDnoOverride the selling org (default: the source's) — active-gated; the clone currency snapshots the effective org's defaultCurrency.
logicalFacilityIdIDnoOverride the selling/fulfilling LF (default: the source's) — active + must belong to the effective org (the spine law).
channelOrderChannelnoOverride the selling channel (default: the source's) — decides the clone's parent (pos → the LF; ecom → the org) + the reserve arm at place.

Used by