resetOrderV2
Clears editable fulfillments and reloads the sales order from its stored source document.
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 and use the current order model
- 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
- Replays the stored document to refresh the sales order
- Shopify fulfillment plans are only adopted on initial creation; cleared demand must be routed in Endless
resetOrderV2(
input: V2ResetOrderInput!
): AsynchronousActionResponse
Arguments
resetOrderV2.input ● V2ResetOrderInput! non-null input common
Parameters for V2ResetOrder
Type
AsynchronousActionResponse object common
Asynchronous action response type