ReorderOrderInput
input type
Reorder-input for reorderOrder: the sale-profile NON-DOOMED source + OPTIONAL context overrides. No source OCC — the source is READ, never written.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
orderId | ID ID! | yes | The 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). |
organizationId | ID | no | Override the selling org (default: the source's) — ACTIVE-gated; the clone currency snapshots the EFFECTIVE org's defaultCurrency. |
logicalFacilityId | ID | no | Override the selling/fulfilling LF (default: the source's) — ACTIVE + must belong to the effective org (the spine law). |
channel | OrderChannel | no | Override the selling channel (default: the source's) — decides the clone's parent (pos → the LF; ecom → the org) + the reserve arm at place. |