Fluent Commerce Logo
Docs
Sign In

CALCULATE_INVENTORY_OVERVIEW

Setting

Changed on:

14 Nov 2023

Setting AreaOrders
Supported context levels:RETAILER

Overview

This setting stores which retailer IDs will be executed in the database stored procedure - inventory_view to aggregate the inventory results. This aggregation is executed every 6 hours by the cron job and the inventory result is used by the Admin Console. It is used by clients not on Rubix platform.

Values

Data TypeValues
STRING

Default Values:

  • TRUE

Possible Values:

  • TRUE
  • FALSE

Configuration example

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

Language: json

Update example

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

Language: json