Skip to main content

UpdateRoutingStrategyInput

Autogenerated input type of UpdateRoutingStrategy

input UpdateRoutingStrategyInput {
buildings: [RoutingBuildingInput!]
clientMutationId: String
description: String
destinationGrouping: DestinationGroupingEnum
fallbackWarehouseId: ID @deprecated
fulfillmentStrategy: FulfillmentStrategyEnum
id: ID!
maxFulfillments: Int
name: String
shortfallPolicy: ShortfallPolicyEnum
}

Fields​

UpdateRoutingStrategyInput.buildings ● [RoutingBuildingInput!] list input orders​

Replaces the building set this strategy routes over.

UpdateRoutingStrategyInput.clientMutationId ● String scalar common​

A unique identifier for the client performing the mutation.

UpdateRoutingStrategyInput.description ● String scalar common​

A new description for the routing strategy.

UpdateRoutingStrategyInput.destinationGrouping ● DestinationGroupingEnum enum orders​

How to group the order's destinations into fulfillments. Omit for a single destination.

UpdateRoutingStrategyInput.fallbackWarehouseId ● ID deprecated scalar common​

DEPRECATED

No longer affects routing. Use shortfallPolicy instead.

Formerly the building that took an order inventory could not cover.

UpdateRoutingStrategyInput.fulfillmentStrategy ● FulfillmentStrategyEnum enum orders​

A new algorithm for choosing buildings and splitting the order.

UpdateRoutingStrategyInput.id ● ID! non-null scalar common​

The ID of the routing strategy to update.

UpdateRoutingStrategyInput.maxFulfillments ● Int scalar common​

A new maximum number of inventory-backed fulfillments for a single order, or for each destination when destinationGrouping is set. A backorder created by shortfallPolicy does not count toward it, so an order may end up with one more fulfillment than this.

UpdateRoutingStrategyInput.name ● String scalar common​

A new name for the routing strategy.

UpdateRoutingStrategyInput.shortfallPolicy ● ShortfallPolicyEnum enum orders​

A new policy for when no allowed set of buildings can source the whole order. Omit to leave it unchanged. Only BACKORDER_REMAINDER and SINGLE_FULFILLMENT are valid when destinationGrouping is set, because a destination has to be planned in full.

Member Of​

updateRoutingStrategy mutation