GLOBAL_INVENTORY_ENABLED
Setting
Changed on:
6 Sept 2023
Setting Area | UI component, Workflow, Orders |
---|---|
Supported context levels: | RETAILER |
Overview
Enables a backward compatibility for clients who are not using Fluent Commerce's (GI) system. If this setting is enabled, the system activates GI for those clients. For more information about the application of this setting, see .
Values
Data Type | Values |
---|---|
BOOLEAN | Default Values:
Possible Values:
|
Configuration example
1POST: {{fluentApiHost}}/graphql
2
3
4GraphQL Query:
5mutation CreateSetting {
6createSetting(input: {
7 name: "GLOBAL_INVENTORY_ENABLED",
8 valueType: "BOOLEAN",
9 value: "TRUE",
10 context: "RETAILER",
11 contextId:1}) {
12 id
13 name
14 }
15}
Update example
1POST {{fluentApiHost}}/graphql
2
3mutation updateSetting {
4 updateSetting(input: {
5 id: 5001464,
6 name: "GLOBAL_INVENTORY_ENABLED",
7 valueType: "BOOLEAN",
8 value:"FALSE",
9 context: "RETAILER",
10 contextId: 1}) {
11 id
12 name
13 }
14}
15