Newer Version Available
Routing, Find Routes with Fewest Splits
Returns combinations of inventory locations that can fulfill an
order within a specified limit of shipment splits.
- Resource
-
1/commerce/order-management/routing/actions/find-routes-with-fewest-splits - Available version
- 51.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request body for POST
-
Find Routes With Fewest Splits Input
- Root XML tag
- <findRoutesWithFewestSplits>
- Properties
-
Name Type Description Required or Optional Available Version locationAvailableInventory Location Availability Input[] Each list element represents the available quantity of a product at an inventory location. At least one element is required 51.0 maximumNumberOfSplits Integer The maximum allowable number of shipment splits. Routing options that involve more than this number of splits are not returned. Optional 51.0 orderedQuantities Quantity With Sku Input[] Each list element represents a quantity of a product to be routed for fulfillment. At least one element is required 51.0
- Response body for POST
-
- When the HTTP status code indicates success, the response body is a Find Routes With Fewest Splits Output. The response body can still indicate processing errors.
- When the HTTP status code is in the 400 (client error) or 500 (server error) range, the response body is an Error with Output. The output property is a Find Routes With Fewest Splits Output, and the value of the enhancedErrorType property can be ignored.