Skip to main content

RoutingConfiguration

Routing Configuration

Configuration for order fulfillment routing strategy and automatic fulfillment settings. This configuration determines how orders are routed to warehouses and whether fulfillments are created automatically.

type RoutingConfiguration {
autoCreateFulfillments: Boolean!
autoCreateFulfillmentsOnNewInventory: Boolean!
createdAt: ISO8601DateTime!
fulfillmentStrategy: String!
id: ID!
maxFulfillments: Int!
salesChannelId: ID!
updatedAt: ISO8601DateTime!
}

Fields

RoutingConfiguration.autoCreateFulfillments ● Boolean! non-null scalar common

Whether to automatically create fulfillments for orders in this sales channel.

RoutingConfiguration.autoCreateFulfillmentsOnNewInventory ● Boolean! non-null scalar common

Whether to automatically create fulfillments when new inventory becomes available. Requires auto_create_fulfillments to be true.

RoutingConfiguration.createdAt ● ISO8601DateTime! non-null scalar common

When the routing configuration was created.

RoutingConfiguration.fulfillmentStrategy ● String! non-null scalar common

The fulfillment strategy: 'shortest_distance', 'building_preference_minimize_shipments', or 'building_preference_maximize_priority'.

RoutingConfiguration.id ● ID! non-null scalar common

Unique identifier for the routing configuration.

RoutingConfiguration.maxFulfillments ● Int! non-null scalar common

Maximum number of fulfillments to create for a single order. Must be between 1 and 10.

RoutingConfiguration.salesChannelId ● ID! non-null scalar common

The sales channel this routing configuration belongs to.

RoutingConfiguration.updatedAt ● ISO8601DateTime! non-null scalar common

When the routing configuration was last updated.

Member Of

SalesChannel object