RightChain APIs
RightChain™ APIs | Copyright: RightChain Incorporated | All Rights Reserved
4. Optimization Endpoints The following endpoints are all for different optimization algorithms. The API call needs to have specific permissions for each of these calls. Contact RightChain if encountering an unexpected “Unauthorized” 403 error. These endpoints expect a POST Method call.
4.6 inventory/fill_rate This endpoint computes the optimal fill rate, turnover, and lot size for a given SKU. 4.6.1 Body Parameters JSON encoded variables. When omitted, the argument will take the default value.
Argument
Default “GMROI”
metric
String representing the optimization performance metric: 1. “IPC” - Inventory Policy Cost 2. “IVA” - Inventory Value Added 3. “GMROI” - Gross Margin Return on Inventory Numeric value representing the inventory carrying rate.
icr
0.3
setup_cost
Numeric value representing the setup or changeover cost per line. This argument must be a scalar. If the column “Setup Cost” is included in the skus data, then this argument is ignored. Numeric value representing a % change in setup cost (i.e. 50% increase= 0.5). Numeric value representing a % discount in selling price (i.e. 25% discount = 0.25).
250.0
setup_change
0.0
discount
0.0
min_lot_size Integer value representing the minimum lot size for production. If the column “Minimum Lot Size” is included in the skus data, then this argument is ignored. 1 use_min_lot_size If TRUE, the optimization will apply the minimum when computing optimal lot sizes. If FALSE, the optimization will ignore any minimum lot size data. FALSE round_to_min If TRUE, the optimization will round the computed optimal lot size to the nearest multiple of the minimum. If FALSE, the optimization does not round the optimal lot size. FALSE skus (required) Tabular data representing the SKUs as defined in the data template.
8
Made with FlippingBook - Online catalogs