Fluent Commerce Logo
Docs
Sign In

fc.oms.inventory.search.inventory.catalogue.default

Setting

Changed on:

9 Jan 2025

Setting AreaUI component
Supported context levels:ACCOUNT, RETAILER

Overview

The

`fc.oms.inventory.search.inventory.catalogue.default`
setting is a configuration used to set the default value for the Inventory Catalogue Filter on the Inventory Search page. This ensures that the filter is pre-applied with a specific catalog. The setting can be configured as a string or a JSON value, allowing support for multiple inventory catalogs by including their references.

Values

Data TypeValues
STRING, JSON

The STRING value example:

DEFAULT:{{activeRetailer.id}} 

1[
2    "DEFAULT:UVOI:{{activeRetailer.id}}",
3    "DEFAULT:TEST:{{activeRetailer.id}}"
4]

Language: plain_text

Name: The JSON value example

Description:

The example of the setting configured with a JSON value

Detailed technical description

The setting retrieves the catalog name (-s) along with the retailer ID to display only the relevant options for the selected retailer. It is possible to refer to the setting in Manifest using the alias:

`"defaultValue": "{{settings.default_ic}}"`
.

This dynamic behavior ensures the filter adapts to different retail contexts and configurations.

Configuration example

1POST {{fluentApiHost}}/graphql
2
3mutation CreateSetting {
4   createSetting(input: {
5		name: "fc.oms.inventory.search.inventory.catalogue.default", 
6		valueType: "STRING", 
7		value: "DEFAULT:{{activeRetailer.id}}", 
8		context: "ACCOUNT", 
9		contextId: 0}) {
10    id
11    name
12  }
13}

Language: graphqlschema