createSetting

Creates a Setting

Input fields

input (CreateSettingInput)

Return fields

id (ID!)

ID of the object

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. For instance, use a retailer's ID when using RETAILER context.