createFulfillmentsByRoutingStrategy
Creates fulfillments for an order based on the sales channel's routing configuration.
This mutation triggers the fulfillment creation process using the routing strategy configured for the order's sales channel. The actual fulfillment creation logic will be implemented based on the routing configuration settings.
Requirements
- User must have
create_fulfillmentpermission - Valid brand context must be provided (via argument or X-Brand-Id header)
- Order must exist and be in "accepted" state
- Order must be using the V2 aggregate
Arguments
order_id(required): The ID of the order to create fulfillments for
Behavior
- Publishes a FulfillmentsByRoutingStrategyRequested event
- The event handler will call the FulfillmentCreator service
- Returns the order after the event is processed
createFulfillmentsByRoutingStrategy(
input: CreateFulfillmentsByRoutingStrategyInput!
): V2Order!
Arguments
createFulfillmentsByRoutingStrategy.input ● CreateFulfillmentsByRoutingStrategyInput! non-null input
Parameters for CreateFulfillmentsByRoutingStrategy
Type
V2Order object
The V2 order type. This type represents a V2 order in the system with only the fields necessary for draft creation and details.