CreateSettingInput

Input type to create a Setting

USAGE
Use a unique combination of context and contextId to create settings for various contexts. Not using a unique combination of those two will result in a ConstraintViolationException.

Input Fields

name (String!)

Name of the setting

valueType (String!)

Data type of the setting's value. Supported types are LOB, STRING, INTEGER, BOOLEAN and JSON.

lobValue (Json)

Value of the setting. Use this if the value is a JSON.

value (String)

Value of the setting. Use this if the value is NOT a JSON.

context (String!)

The context of the setting. Supported values are ACCOUNT, RETAILER, AGENT or CUSTOMER

contextId (Int!)

ID of the context type. For instance, use a retailer's ID when using RETAILER context.