Fluent Commerce Logo
Docs
Sign In

COMPATIBILITY_EVENT_ENABLED

Setting

Changed on:

24 Aug 2023

Setting AreaUI component, Workflow, Orders
Supported context levels:RETAILER

Overview

This Setting enables the clients who are not on Global Inventory (GI) to utilise the GI-based rules. This helps the developers to write GI based rules for non-GI enabled clients. When this setting is set to TRUE the system generates the virtual catalog using the legacy inventory tables and legacy catalogue tables.

Values

Data TypeValues
BOOLEAN

Default Values:

  • FALSE

Possible Values:

  • TRUE
  • FALSE

Configuration example

1POST: {{fluentApiHost}}/graphql
2
3
4GraphQL Query:
5mutation CreateSetting {
6createSetting(input: {
7		name: "COMPATIBILITY_EVENT_ENABLED", 
8		valueType: "BOOLEAN", 
9		value: "TRUE", 
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: "COMPATIBILITY_EVENT_ENABLED", 
7		valueType: "BOOLEAN", 
8		value:"FALSE", 
9		context: "RETAILER", 
10		contextId: 1}) {
11    id
12    name
13  }
14}

Language: graphqlschema