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` is a configuration used to set the default value for the Inventory Catalogue Filter on the Search page. This ensures that the filter is pre-applied with a specific catalog. The can be configured as a string or a JSON value, allowing support for multiple 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]

Detailed technical description

The retrieves the catalog name (-s) along with the ID to display only the relevant options for the selected . It is possible to refer to the in 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}