Skip to main content

archiveRoutingStrategy

Archives a routing strategy. The record is kept and can still be referenced by orders that used it.

Business Rules​

  • The strategy must exist within the current company.

Error Scenarios​

  • **NOT_FOUND**: when the strategy does not exist.

Permissions Required​

  • orders:archive_routing_strategy permission
archiveRoutingStrategy(
input: ArchiveRoutingStrategyInput!
): RoutingStrategy

Arguments​

archiveRoutingStrategy.input ● ArchiveRoutingStrategyInput! non-null input common​

Parameters for ArchiveRoutingStrategy

Type​

RoutingStrategy object orders​

Routing Strategy​

A reusable, company-owned definition of how an order's fulfillments are split across buildings: which buildings and in what priority, the algorithm, and the maximum number of fulfillments. Applied to an order to create its fulfillments.