Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.FindRoutesWithFewestSplitsInputRepresentation

Data used to calculate order fulfillment routes involving the fewest number of shipment splits.
Property Type Description Required or Optional Available Version
locationAvailable​Inventory List<ConnectApi.​LocationAvailability​InputRepresentation> Each list element represents the available quantity of a product at an inventory location. At least one element is required 51.0
maximumNumber​OfSplits Integer The maximum allowable number of shipment splits. Routing options that involve more than this number of splits are not returned. Each split represents an additional shipment. Specifying a maximum of 0 returns only locations that can fulfill the entire order in a single shipment. A maximum of 1 returns combinations of locations that can fulfill the order in one or two shipments, and so on. Required 51.0
orderedQuantities List<ConnectApi.​QuantityWithSku​InputRepresentation> Each list element represents a quantity of a product to be routed for fulfillment. At least one element is required 51.0