resetOrderV2
Resets a V2 order: discards everything derived locally and rebuilds the order (a clean re-import).
Asynchronous: the mutation validates the request, then enqueues the teardown + replay and returns a process id to track progress.
Requirements
- User must have
orders:reset_orderpermission - Order must exist, be a V2 order, and be locally held by the caller
- No fulfillment may be in progress, sent to a warehouse/3PL, or have a shipment
- The order must have a stored external document to rebuild from
Arguments
order_id(required): The ID of the order to reset
Behavior
- Cancels and clears the order's fulfillments
- Restores updates from the source integration
- Replays the stored document so the order is rebuilt as a clean import would produce
resetOrderV2(
input: V2ResetOrderInput!
): AsynchronousActionResponse
Arguments
resetOrderV2.input ● V2ResetOrderInput! non-null input common
Parameters for V2ResetOrder
Type
AsynchronousActionResponse object common
Asynchronous action response type