revertFulfillmentToAllocated
Reverts a fulfillment to allocated state in the V2 fulfillments state machine.
Transitions a fulfillment from "ready" back to "allocated" state. Allocated inventory is retained during the revert.
Requirements
- User must have
revert_fulfillment_to_allocatedpermission - Valid brand context must be provided (via argument or X-Brand-Id header)
- Fulfillment must exist and be in "ready" state
Arguments
fulfillment_id(required): The ID of the fulfillment to revertorder_id(required): The ID of the order the fulfillment belongs to
Behavior
- Transitions fulfillment from "ready" to "allocated" state
- Retains all allocated inventory
- Returns the reverted fulfillment
revertFulfillmentToAllocated(
input: RevertFulfillmentToAllocatedInput!
): OrderFulfillment!
Arguments
revertFulfillmentToAllocated.input ● RevertFulfillmentToAllocatedInput! non-null input common
Parameters for RevertFulfillmentToAllocated
Type
OrderFulfillment object orders
This type represents an order fulfillment. An order can have multiple fulfillments, each one associated with a warehouse and a party that fulfilled the order.