fc.oms.inventory.search.inventory.catalogue.default
Changed on:
9 Jan 2025
| Setting Area | UI 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 Type | Values |
|---|---|
| STRING, JSON | The STRING value example: DEFAULT:{{activeRetailer.id}} |
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}