Fluent Commerce Logo
Docs
Sign In

QUANTITY.WEIGHTING.FACTOR

Setting

Changed on:

22 Sept 2023

Setting AreaWorkflow, Orders
Supported context levels:RETAILER

Overview

This setting stores the default values for proximity and quantity parameters to calculate the weightage to decide the order of stores in which they will be picked up. This setting is used by

`fulfilment.SearchInventoryCommonRule.`
 


Values

Data TypeValues
INTEGER

Sample Values:

  • 50

Configuration example

1POST: {{fluentApiHost}}/graphql
2
3
4GraphQL Query:
5mutation CreateSetting {
6createSetting(input: {
7		name: "QUANTITY.WEIGHTING.FACTOR", 
8		valueType: "INTEGER", 
9		value: "32", 
10		context: "RETAILER", 
11		contextId:1}) {
12    id
13    name
14  }
15}

Language: graphqlschema

Update example

1POST {{fluentApiHost}}/graphql
2
3mutation updateSetting {
4  updateSetting(input: {
5		id: 5001464,
6		name: "QUANTITY.WEIGHTING.FACTOR", 
7		valueType: "INTEGER", 
8		value: "32", 
9		context: "RETAILER", 
10		contextId: 1}) {
11    id
12    name
13  }
14}
15

Language: graphqlschema